mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Fixed player data issue
This commit is contained in:
@@ -133,7 +133,7 @@ Event.add(defines.events.on_player_left_game, function(event)
|
|||||||
local player_data = PlayerData:get(player)
|
local player_data = PlayerData:get(player)
|
||||||
if player_data.valid == true then
|
if player_data.valid == true then
|
||||||
PlayerData:unload(player)
|
PlayerData:unload(player)
|
||||||
else PlayerData:raw_set(player) end
|
else PlayerData:raw_set(player.name) end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
----- Module Return -----
|
----- Module Return -----
|
||||||
|
|||||||
Reference in New Issue
Block a user