Skip to content

Commit

Permalink
Mtn v3 - correct server save format
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerkiz committed Nov 21, 2023
1 parent ea482cb commit e4eb7b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion maps/mountain_fortress_v3/stateful/table.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4eb7b2

Please sign in to comment.