From 833afd26a61598f3fd90788f6dbce287ea5b884e Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Tue, 30 Apr 2024 18:38:49 -0300 Subject: [PATCH] Fixed the first loot square getting reused instead of pulling the second one. --- frames/window_mythicplus/window_end_of_run.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frames/window_mythicplus/window_end_of_run.lua b/frames/window_mythicplus/window_end_of_run.lua index 02cb00bf..439497e8 100644 --- a/frames/window_mythicplus/window_end_of_run.lua +++ b/frames/window_mythicplus/window_end_of_run.lua @@ -345,7 +345,9 @@ local createPlayerBanner = function(parent, name) end function playerBanner:GetLootSquare() - return playerBanner.LootSquares[playerBanner.NextLootSquare] + local lootSquare = playerBanner.NextLootSquare + playerBanner.NextLootSquare = playerBanner.NextLootSquare + 1 + return playerBanner.LootSquares[lootSquare] end return playerBanner