1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-01 13:08:05 +02:00

Mtn v3 - correct server save format

This commit is contained in:
Gerkiz 2023-11-21 01:15:32 +01:00
parent ea482cb58e
commit e4eb7b2f18

View File

@ -801,7 +801,8 @@ local function apply_startup_settings(settings)
this.time_to_reset = this.reset_after - time_to_reset
if time_to_reset and time_to_reset > this.reset_after then
game.server_save('Season_' .. this.season or 1 .. '_Mtn_v3_' .. tostring(current_time))
local s = this.season or 1
game.server_save('Season_' .. s .. '_Mtn_v3_' .. tostring(current_time))
settings.current_date = current_time
settings.test_mode = false
settings.rounds_survived = 0