Fix undefined error fnc_spawnObjects

My mistake from 26c1bd9
This commit is contained in:
ebayShopper
2017-03-01 13:42:21 -05:00
parent 2032094fb4
commit 9434d43561

View File

@@ -146,11 +146,6 @@ if (!isDedicated) then {
//System //System
player_spawn_2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_spawn_2.sqf"; player_spawn_2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_spawn_2.sqf";
//Spawn waterHoleProxies manually if townGenerator is disabled
if (!dayz_townGenerator && {toLower worldName in ["chernarus","namalsk","napf"]}) then {
execVM ("\z\addons\dayz_code\system\mission\" + (toLower worldName) + "\waterHoleProxy.sqf");
};
//Crafting //Crafting
fn_updateCraftUI = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_updateCraftUI.sqf"; fn_updateCraftUI = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_updateCraftUI.sqf";
player_craftItem = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_craftItem.sqf"; player_craftItem = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_craftItem.sqf";
@@ -664,10 +659,15 @@ object_roadFlare = compile preprocessFileLineNumbers "\z\addons\dayz_code\compil
DZ_KeyDown_EH = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\keyboard.sqf"; DZ_KeyDown_EH = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\keyboard.sqf";
fn_shuffleArray = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_shuffleArray.sqf"; fn_shuffleArray = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_shuffleArray.sqf";
zombie_initialize = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\zombie_initialize.sqf"; zombie_initialize = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\zombie_initialize.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\traps\init.sqf"; call compile preprocessFileLineNumbers "\z\addons\dayz_code\traps\init.sqf";
if (dayz_townGenerator) then { if (dayz_townGenerator) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\psrnd.sqf"; // pseudo random for plantSpanwer call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\psrnd.sqf"; // pseudo random for plantSpanwer
} else {
//Spawn waterHoleProxies manually if townGenerator is disabled
if (!isDedicated && (toLower worldName in ["chernarus","namalsk","napf"])) then {
execVM ("\z\addons\dayz_code\system\mission\" + (toLower worldName) + "\waterHoleProxy.sqf");
};
}; };
// EPOCH ADDITIONS // EPOCH ADDITIONS