mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Revert "move simulation handler to main loop"
This reverts commit 19a0252278
.
This commit is contained in:
parent
52e8008f16
commit
1f17430e2c
@ -197,10 +197,6 @@ for "_i" from 1 to _maxVehicleLimit do {
|
||||
_object removeMagazinesTurret [_x, [-1]];
|
||||
} forEach _mags;
|
||||
*/
|
||||
// vehicle simulation handler
|
||||
if (_simulationHandler) then{
|
||||
_vehicle enableSimulationGlobal false;
|
||||
};
|
||||
if (EPOCH_DEBUG_VEH) then {
|
||||
_marker = createMarker [str(_location) , _location];
|
||||
_marker setMarkerShape "ICON";
|
||||
@ -248,6 +244,10 @@ for "_i" from 1 to _maxVehicleLimit do {
|
||||
} forEach _actualHitpoints;
|
||||
};
|
||||
};
|
||||
// vehicle simulation handler
|
||||
if (_simulationHandler) then{
|
||||
_vehicle enableSimulationGlobal false;
|
||||
};
|
||||
} forEach _vehicleDamages;
|
||||
};
|
||||
// add all spawned vehicles to remains collector.
|
||||
|
Loading…
Reference in New Issue
Block a user