fix: PlayersInfo not being set

This commit is contained in:
Andyyy7666
2023-12-16 19:46:35 +01:00
parent db5c54f2d8
commit 4b106d3688

View File

@@ -46,8 +46,9 @@ end
AddEventHandler("playerJoining", function(oldId)
local src = source
PlayersInfo[src] = tempPlayersInfo[oldId]
tempPlayersInfo[oldId] = nil
local oldTempId = tonumber(oldId)
PlayersInfo[src] = tempPlayersInfo[oldTempId]
tempPlayersInfo[oldTempId] = nil
if Config.multiCharacter then return end
Wait(3000)