fix bug which would cause unecessary echo network traffic (#4242)

This commit is contained in:
commy2 2016-08-13 16:45:50 +02:00 committed by Glowbal
parent 84a370d0f2
commit 2231464087

View File

@ -20,7 +20,9 @@ params ["_vehicle"];
if (_vehicle getVariable [QGVAR(isEngineSmoking), false]) exitWith {};
_vehicle setVariable [QGVAR(isEngineSmoking), true];
[QGVAR(engineFire), _vehicle] call CBA_fnc_remoteEvent;
if (local _vehicle) then {
[QGVAR(engineFire), _vehicle] call CBA_fnc_remoteEvent;
};
private _position = [
0,