Skip to content

Commit

Permalink
hats: fix my fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruwetuin committed Oct 11, 2024
1 parent 7887f59 commit 34e0581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luarules/gadgets/unit_hats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function gadget:GameFrame(gf)
for _, playerID in ipairs(Spring.GetPlayerList()) do

local accountID = false
local playerName, _, spec, teamID, _, _, _, _, _, accountInfo = Spring.GetPlayerInfo(playerID)
local playerName, _, spec, teamID, _, _, _, _, _, _, accountInfo = Spring.GetPlayerInfo(playerID)
if accountInfo and accountInfo.accountid then
accountID = tonumber(accountInfo.accountid)
end
Expand Down

0 comments on commit 34e0581

Please sign in to comment.