From e4eb7b2f18f073e50a7cb6057cc286ed98821b99 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Tue, 21 Nov 2023 01:15:32 +0100 Subject: [PATCH] Mtn v3 - correct server save format --- maps/mountain_fortress_v3/stateful/table.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maps/mountain_fortress_v3/stateful/table.lua b/maps/mountain_fortress_v3/stateful/table.lua index c59733dfd..e0c6eff61 100644 --- a/maps/mountain_fortress_v3/stateful/table.lua +++ b/maps/mountain_fortress_v3/stateful/table.lua @@ -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