From 1d1492b2c4faac5fc2583f2a8aa004f9ee0d2f62 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Wed, 11 Oct 2023 21:18:49 +0200 Subject: [PATCH] Mtn v3 - fix stateful dateset --- maps/mountain_fortress_v3/stateful/table.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/maps/mountain_fortress_v3/stateful/table.lua b/maps/mountain_fortress_v3/stateful/table.lua index 4640c4278..68fae3b65 100644 --- a/maps/mountain_fortress_v3/stateful/table.lua +++ b/maps/mountain_fortress_v3/stateful/table.lua @@ -684,8 +684,6 @@ local function apply_startup_settings(settings) Server.set_data(dataset, dataset_key_dev, settings) end end - - return settings end local apply_settings_token = @@ -714,7 +712,7 @@ local apply_settings_token = this.current_date = settings.current_date this.buffs = settings.buffs - settings = apply_startup_settings(settings) + apply_startup_settings(settings) this.rounds_survived = settings.rounds_survived @@ -729,7 +727,8 @@ function Public.save_settings() local settings = { rounds_survived = this.rounds_survived, test_mode = this.test_mode, - buffs = this.buffs + buffs = this.buffs, + current_date = this.current_date } local server_name_matches = Server.check_server_name('Mtn Fortress')