From 1f17430e2c4ca654fd3084c85d42dda5f6de1208 Mon Sep 17 00:00:00 2001 From: vbawol Date: Fri, 8 Jul 2016 09:46:09 -0500 Subject: [PATCH] Revert "move simulation handler to main loop" This reverts commit 19a02522784576956e8e554452ead0b7c33a0494. --- .../compile/epoch_vehicle/EPOCH_load_vehicles.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf index d8ab9fa2..b418b101 100644 --- a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf +++ b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf @@ -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.