mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
disable fuel after player is already in the server
This commit is contained in:
parent
45a02c7b91
commit
f2b0aab6e6
@ -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;
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user