Skip to content

Commit

Permalink
safecheck for conquer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Jan 4, 2020
1 parent d18958d commit 0dbdef7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion BC_setup/functions/server/fn_defineWoodland.sqf
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
BC_IS_WOODLAND = ["isWoodland",true] call BC_setup_fnc_getIslandCfgEntry;
BC_IS_WOODLAND = ["isWoodland",true] call BC_setup_fnc_getIslandCfgEntry;

CONQUER_MODE = (["CONQUER_MODE", 1] call BIS_fnc_getParamValue) == 0;
publicVariable "CONQUER_MODE";
3 changes: 0 additions & 3 deletions initserver.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ publicVariable "CIVILIAN_TRAFFIC"; // clients need to know this

// todo activate grad civs

CONQUER_MODE = (["CONQUER_MODE", 1] call BIS_fnc_getParamValue) == 0;
publicVariable "CONQUER_MODE";

PREPARATION_TIME = [3, ["PREPARATION_TIME", 0] call BIS_fnc_getParamValue] select (!DEBUG_MODE);
publicVariable "PREPARATION_TIME";

Expand Down

0 comments on commit 0dbdef7

Please sign in to comment.