diff --git a/Missionframework/scripts/server/game/periodic_save.sqf b/Missionframework/scripts/server/game/periodic_save.sqf index 9e4acdc8..7162aa27 100644 --- a/Missionframework/scripts/server/game/periodic_save.sqf +++ b/Missionframework/scripts/server/game/periodic_save.sqf @@ -2,5 +2,5 @@ _save_interval = 20; while { GRLIB_endgame == 0 } do { sleep _save_interval; - trigger_server_save = true; -}; \ No newline at end of file + doSaveTrigger = true; +}; diff --git a/Missionframework/scripts/server/remotecall/build_fob_remote_call.sqf b/Missionframework/scripts/server/remotecall/build_fob_remote_call.sqf index 4cca0b61..734c6103 100644 --- a/Missionframework/scripts/server/remotecall/build_fob_remote_call.sqf +++ b/Missionframework/scripts/server/remotecall/build_fob_remote_call.sqf @@ -14,7 +14,7 @@ if ( _create_fob_building ) then { sleep 1; }; -trigger_server_save = true; +doSaveTrigger = true; sleep 3; [_new_fob, 0] remoteExec ["remote_call_fob"]; diff --git a/Missionframework/scripts/server/remotecall/sector_liberated_remote_call.sqf b/Missionframework/scripts/server/remotecall/sector_liberated_remote_call.sqf index aab9befb..a4009e0f 100644 --- a/Missionframework/scripts/server/remotecall/sector_liberated_remote_call.sqf +++ b/Missionframework/scripts/server/remotecall/sector_liberated_remote_call.sqf @@ -71,7 +71,7 @@ publicVariable "asymm_blocked_sectors"; sleep 1; -trigger_server_save = true; +doSaveTrigger = true; sleep 45; diff --git a/Missionframework/scripts/server/secondary/convoy_hijack.sqf b/Missionframework/scripts/server/secondary/convoy_hijack.sqf index 6a575f28..4b3735fc 100644 --- a/Missionframework/scripts/server/secondary/convoy_hijack.sqf +++ b/Missionframework/scripts/server/secondary/convoy_hijack.sqf @@ -159,4 +159,4 @@ stats_secondary_objectives = stats_secondary_objectives + 1; [5] remoteExec ["remote_call_intel"]; GRLIB_secondary_in_progress = -1; publicVariable "GRLIB_secondary_in_progress"; sleep 1; -trigger_server_save = true; +doSaveTrigger = true; diff --git a/Missionframework/scripts/server/secondary/fob_hunting.sqf b/Missionframework/scripts/server/secondary/fob_hunting.sqf index 4be63680..092f70c5 100644 --- a/Missionframework/scripts/server/secondary/fob_hunting.sqf +++ b/Missionframework/scripts/server/secondary/fob_hunting.sqf @@ -123,9 +123,9 @@ waitUntil { combat_readiness = round (combat_readiness * GRLIB_secondary_objective_impact); stats_secondary_objectives = stats_secondary_objectives + 1; sleep 1; -trigger_server_save = true; +doSaveTrigger = true; sleep 3; [3] remoteExec ["remote_call_intel"]; -GRLIB_secondary_in_progress = -1; publicVariable "GRLIB_secondary_in_progress"; \ No newline at end of file +GRLIB_secondary_in_progress = -1; publicVariable "GRLIB_secondary_in_progress"; diff --git a/Missionframework/scripts/server/secondary/search_and_rescue.sqf b/Missionframework/scripts/server/secondary/search_and_rescue.sqf index af242536..735e47f9 100644 --- a/Missionframework/scripts/server/secondary/search_and_rescue.sqf +++ b/Missionframework/scripts/server/secondary/search_and_rescue.sqf @@ -104,4 +104,4 @@ stats_secondary_objectives = stats_secondary_objectives + 1; GRLIB_secondary_in_progress = -1; publicVariable "GRLIB_secondary_in_progress"; sleep 1; -trigger_server_save = true; +doSaveTrigger = true; diff --git a/Missionframework/scripts/server/sector/attack_in_progress_fob.sqf b/Missionframework/scripts/server/sector/attack_in_progress_fob.sqf index 5a8367c4..518ae51d 100644 --- a/Missionframework/scripts/server/sector/attack_in_progress_fob.sqf +++ b/Missionframework/scripts/server/sector/attack_in_progress_fob.sqf @@ -46,7 +46,7 @@ if ( GRLIB_endgame == 0 ) then { publicVariable "GRLIB_all_fobs"; reset_battlegroups_ai = true; [_thispos] call destroy_fob; - trigger_server_save = true; + doSaveTrigger = true; stats_fobs_lost = stats_fobs_lost + 1; } else { [_thispos, 3] remoteExec ["remote_call_fob"]; diff --git a/Missionframework/scripts/server/sector/attack_in_progress_sector.sqf b/Missionframework/scripts/server/sector/attack_in_progress_sector.sqf index 0413e62c..64a1a403 100644 --- a/Missionframework/scripts/server/sector/attack_in_progress_sector.sqf +++ b/Missionframework/scripts/server/sector/attack_in_progress_sector.sqf @@ -49,7 +49,7 @@ if ( GRLIB_endgame == 0 ) then { publicVariable "blufor_sectors"; [_sector, 2] remoteExec ["remote_call_sector"]; reset_battlegroups_ai = true; - trigger_server_save = true; + doSaveTrigger = true; stats_sectors_lost = stats_sectors_lost + 1; { if (_sector in _x) exitWith {