mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Testing save only to server for players.json
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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