mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
commit
df3edce010
@ -164,8 +164,10 @@
|
||||
{
|
||||
_x lock 1;
|
||||
};
|
||||
|
||||
//_x call ExileServer_system_simulationMonitor_addVehicle;
|
||||
if!(dynamicSimulationEnabled _x)then
|
||||
{
|
||||
_x call ExileServer_system_simulationMonitor_addVehicle;
|
||||
};
|
||||
} forEach _vehs;
|
||||
|
||||
{
|
||||
|
@ -166,7 +166,10 @@
|
||||
_x lock 1;
|
||||
};
|
||||
|
||||
//_x call ExileServer_system_simulationMonitor_addVehicle;
|
||||
if!(dynamicSimulationEnabled _x)then
|
||||
{
|
||||
_x call ExileServer_system_simulationMonitor_addVehicle;
|
||||
};
|
||||
} forEach _vehs;
|
||||
|
||||
{
|
||||
|
@ -105,11 +105,7 @@ if (!(_grpUnits isEqualTo []) && {(leader _grp) isEqualTo _unit}) then
|
||||
private _av = _unit getVariable ["DMS_AssignedVeh",objNull];
|
||||
if (!isNull _av) then
|
||||
{
|
||||
if(dynamicSimulationSystemEnabled)then
|
||||
{
|
||||
_av enableDynamicSimulation true;
|
||||
}
|
||||
else
|
||||
if!(dynamicSimulationEnabled _av)then
|
||||
{
|
||||
_av enableSimulationGlobal true;
|
||||
};
|
||||
@ -156,14 +152,9 @@ if (!isNull _av) then
|
||||
[_av, 1] remoteExecCall ["lock", _av];
|
||||
};
|
||||
|
||||
//_av call ExileServer_system_simulationMonitor_addVehicle;
|
||||
|
||||
if(dynamicSimulationSystemEnabled)then
|
||||
{
|
||||
_av enableDynamicSimulation true;
|
||||
}
|
||||
else
|
||||
if!(dynamicSimulationEnabled _av)then
|
||||
{
|
||||
_av call ExileServer_system_simulationMonitor_addVehicle;
|
||||
_av enableSimulationGlobal true;
|
||||
};
|
||||
_av setVariable ["ExileMoney",0,true];
|
||||
|
Loading…
Reference in New Issue
Block a user