Skip to content

Commit

Permalink
Merge pull request #6623 from acemod/fix-viv-engine
Browse files Browse the repository at this point in the history
fix engine start delay turning viv laoded vehicle when starting the engine
  • Loading branch information
commy2 authored Oct 6, 2018
2 parents 97e3766 + dfde6e2 commit 7c4faee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/vehicles/functions/fnc_startEngine.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

params ["_vehicle", "_isEngineOn"];

if (!_isEngineOn || {floor abs speed _vehicle > 0}) exitWith {};
if (!_isEngineOn || {floor abs speed _vehicle > 0 || {!isNull isVehicleCargo _vehicle}}) exitWith {};

[{
params ["_args", "_idPFH"];
Expand Down

0 comments on commit 7c4faee

Please sign in to comment.