Disable POI fires when POIs are off

Vanilla commit:
ebad05fe5b
This commit is contained in:
ebayShopper
2018-01-10 15:35:38 -05:00
parent b791deeea8
commit 2855997c86
28 changed files with 142 additions and 96 deletions

View File

@@ -108,13 +108,13 @@ if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\day
execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";
if (isServer) then {
if (dayz_POIs && (toLower worldName == "chernarus")) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";};
if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";};
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
execVM "\z\addons\dayz_server\traders\ruegen.sqf"; //Add trader agents
//Get the server to setup what waterholes are going to be infected and then broadcast to everyone.
if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
if (dayz_infectiousWaterholes) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";};
// Lootable objects from CfgTownGeneratorDefault.hpp
if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\MainLootableObjects.sqf"; };