Skip to content

Commit

Permalink
No civ (#7)
Browse files Browse the repository at this point in the history
* Update fn_spawnCivilians.sqf

* Update init_server.sqf

* Update init_module.sqf
  • Loading branch information
windwalker-888 committed Apr 21, 2024
1 parent deb7730 commit ecfb50d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Missionframework/functions/fn_spawnCivilians.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ params [
["_sector", "", [""]]
];

if ( true ) exitWith {};

if (_sector isEqualTo "") exitWith {["Empty string given"] call BIS_fnc_error; []};

private _civs = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
civinfo_task = compileFinal preprocessFileLineNumbers "scripts\server\civinformant\tasks\civinfo_task.sqf";

// Start spawn loop
execVM "scripts\server\civinformant\civinfo_loop.sqf";
//execVM "scripts\server\civinformant\civinfo_loop.sqf";
4 changes: 2 additions & 2 deletions Missionframework/scripts/server/init_server.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ execVM "scripts\server\game\synchronise_vars.sqf";
execVM "scripts\server\game\synchronise_eco.sqf";
execVM "scripts\server\game\zeus_synchro.sqf";
execVM "scripts\server\offloading\show_fps.sqf";
execVM "scripts\server\patrols\civilian_patrols.sqf";
//execVM "scripts\server\patrols\civilian_patrols.sqf";
execVM "scripts\server\patrols\manage_patrols.sqf";
execVM "scripts\server\patrols\reinforcements_resetter.sqf";
if (KP_liberation_ailogistics) then {execVM "scripts\server\resources\manage_logistics.sqf";};
Expand Down Expand Up @@ -139,4 +139,4 @@ if (KP_liberation_restart > 0) then {
[_x] call battlegroup_ai;
}
} foreach allGroups;
}] call CBA_fnc_addEventHandler;
}] call CBA_fnc_addEventHandler;

0 comments on commit ecfb50d

Please sign in to comment.