mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 08:14:52 +09:00
Testing save only to server for players.json
This commit is contained in:
1 parent
8166814226
commit
900610c1f9
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -174,7 +174,7 @@ script.on_event(defines.events.on_player_joined_game, function(event)
|
||||
drawPlayerList()
|
||||
drawToolbar()
|
||||
local playerStringTable = encode(game.players, "players", {"name", "admin", "online_time", "connected", "index"})
|
||||
game.write_file("players.json", playerStringTable, false)
|
||||
game.write_file("players.json", playerStringTable, false, 0)
|
||||
if not player.admin and ticktominutes(player.online_time) < 1 then
|
||||
drawFrame(player,'Readme','Rules')
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user