diff --git a/src/greuh_liberation.Default/scripts/server/game/save_manager.sqf b/src/greuh_liberation.Default/scripts/server/game/save_manager.sqf index 23e3cc6..5c5b05a 100644 --- a/src/greuh_liberation.Default/scripts/server/game/save_manager.sqf +++ b/src/greuh_liberation.Default/scripts/server/game/save_manager.sqf @@ -1,10 +1,3 @@ -if ( !(isNil "GRLIB_param_wipe_savegame_1") && !(isNil "GRLIB_param_wipe_savegame_2") ) then { - if ( GRLIB_param_wipe_savegame_1 == 1 && GRLIB_param_wipe_savegame_2 == 1 ) then { - profileNamespace setVariable [ GRLIB_save_key,nil ]; - saveProfileNamespace; - }; -}; - date_year = date select 0; date_month = date select 1; date_day = date select 2; diff --git a/src/greuh_liberation.Default/scripts/shared/fetch_params.sqf b/src/greuh_liberation.Default/scripts/shared/fetch_params.sqf index 2096d69..7b49985 100644 --- a/src/greuh_liberation.Default/scripts/shared/fetch_params.sqf +++ b/src/greuh_liberation.Default/scripts/shared/fetch_params.sqf @@ -6,8 +6,6 @@ if ( isMultiplayer ) then { GRLIB_adaptive_opfor = ["AdaptToPlayercount",1] call bis_fnc_getParamValue; GRLIB_civilian_activity = ["civilians",1] call bis_fnc_getParamValue; GRLIB_build_first_fob = ["FirstFob",0] call bis_fnc_getParamValue; - GRLIB_param_wipe_savegame_1 = ["WipeSave1",0] call bis_fnc_getParamValue; - GRLIB_param_wipe_savegame_2 = ["WipeSave2",0] call bis_fnc_getParamValue; GRLIB_passive_income = ["PassiveIncome",0] call bis_fnc_getParamValue; GRLIB_permissions_param = ["Permissions",1] call bis_fnc_getParamValue; GRLIB_cleanup_vehicles = ["CleanupVehicles",2] call bis_fnc_getParamValue; @@ -25,8 +23,6 @@ if ( isMultiplayer ) then { GRLIB_unitcap = 1; GRLIB_civilian_activity = 1; GRLIB_build_first_fob = 0; - GRLIB_param_wipe_savegame_1 = 0; - GRLIB_param_wipe_savegame_2 = 0; GRLIB_passive_income = 0; GRLIB_permissions_param = 1; GRLIB_cleanup_vehicles = 2; diff --git a/src/greuh_liberation.Default/ui/mission_params.hpp b/src/greuh_liberation.Default/ui/mission_params.hpp index 896df61..f640db8 100644 --- a/src/greuh_liberation.Default/ui/mission_params.hpp +++ b/src/greuh_liberation.Default/ui/mission_params.hpp @@ -125,16 +125,4 @@ class Params { texts[] = { $STR_YES, $STR_NO }; default = 0; }; - class WipeSave1 { - title = $STR_WIPE_TITLE; - values[] = {0,1}; - texts[] = {$STR_WIPE_NO,$STR_WIPE_YES}; - default = 0; - }; - class WipeSave2 { - title = $STR_WIPE_TITLE_2; - values[] = {0,1}; - texts[] = {$STR_WIPE_NO,$STR_WIPE_YES}; - default = 0; - }; };