mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 03:16:27 +03:00
Disable lit fires when townGenerator is off
If townGenerator is enabled lit fires will be created everywhere except blacklisted areas.
This commit is contained in:
@@ -283,7 +283,7 @@ publicVariable "sm_done";
|
||||
[] execVM "\z\addons\dayz_server\compile\server_spawnCarePackages.sqf";
|
||||
[] execVM "\z\addons\dayz_server\compile\server_spawnCrashSites.sqf";
|
||||
|
||||
if ((toLower worldName) == "chernarus") then {execVM "\z\addons\dayz_server\system\lit_fireplaces.sqf";};
|
||||
if (dayz_townGenerator && {toLower worldName == "chernarus"}) then {execVM "\z\addons\dayz_server\system\lit_fireplaces.sqf";};
|
||||
|
||||
"PVDZ_sec_atp" addPublicVariableEventHandler {
|
||||
_x = _this select 1;
|
||||
|
||||
Reference in New Issue
Block a user