Fixed the first loot square getting reused instead of pulling the second one.

This commit is contained in:
Tercio Jose
2024-04-30 18:38:49 -03:00
parent 18b38819f5
commit 833afd26a6
@@ -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