From 34e058123c37673497604a2ee9780e000a81ba12 Mon Sep 17 00:00:00 2001 From: Floris Date: Fri, 11 Oct 2024 18:27:26 +0200 Subject: [PATCH] hats: fix my fix --- luarules/gadgets/unit_hats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luarules/gadgets/unit_hats.lua b/luarules/gadgets/unit_hats.lua index f1c300a7827..4e07ab0bab3 100644 --- a/luarules/gadgets/unit_hats.lua +++ b/luarules/gadgets/unit_hats.lua @@ -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