re-add sim enable

This commit is contained in:
icomrade
2016-08-17 15:25:59 -04:00
parent 488952e3b6
commit 879ed7d479

View File

@@ -237,6 +237,8 @@ if (_status == "ObjectStreamStart") then {
_object call fnc_veh_ResetEH; _object call fnc_veh_ResetEH;
if (_ownerID != "0" && {!(_object isKindOf "Bicycle")}) then {_object setVehicleLock "locked";}; if (_ownerID != "0" && {!(_object isKindOf "Bicycle")}) then {_object setVehicleLock "locked";};
_serverVehicleCounter set [count _serverVehicleCounter,_type]; // total each vehicle _serverVehicleCounter set [count _serverVehicleCounter,_type]; // total each vehicle
} else {
_object enableSimulation true;
}; };
} else { } else {
// Fix for leading zero issues on safe codes after restart // Fix for leading zero issues on safe codes after restart