disable fuel after player is already in the server

This commit is contained in:
vbawol 2017-07-25 12:19:23 -05:00
parent 45a02c7b91
commit f2b0aab6e6
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,9 @@
// make sure we wait for Display #46
waitUntil {!(isNull (findDisplay 46))};
// disable fuel sources client side.
{_x setFuelCargo 0;} foreach (missionNamespace getVariable ["EPOCH_staticFuelSources", []]);
// setup display EH's
if (isNil "EPOCH_display_setup_complete") then {
EPOCH_display_setup_complete = true;

View File

@ -73,9 +73,6 @@ EPOCH_maxBuildingHeight = getNumber(_CfgEpochClient >> "maxBuildingHeight");
//ON INIT and RESPAWN
call EPOCH_clientInit;
// disable fuel sources client side.
{_x setFuelCargo 0;} foreach (missionNamespace getVariable ["EPOCH_staticFuelSources", []]);
[] execFSM "epoch_code\system\SPVEH.fsm";
[] execFSM "epoch_code\system\player_login.fsm";