Fixed the first loot square getting reused instead of pulling the second one.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user