Move trader category call to client only

Server does not need the trader categories any longer. Also clean up the server_traders.sqf file. This file is redundant. If server admins want to change the trader categories, they just have to edit the path and add the file to the mission.
This commit is contained in:
A Man
2019-11-16 19:28:57 +01:00
parent 49378f62b3
commit 786eae2956
33 changed files with 33 additions and 33 deletions

View File

@@ -99,7 +99,6 @@ call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functi
progressLoadingScreen 0.15;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
progressLoadingScreen 0.25;
call compile preprocessFileLineNumbers "server_traders.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on every machine early
initialized = true;
@@ -121,6 +120,8 @@ if (isServer) then {
};
if (!isDedicated) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf";
if (toLower worldName == "chernarus") then {
execVM "\z\addons\dayz_code\system\mission\chernarus\hideGlitchObjects.sqf";
};