Fix speed limiter not working

This commit is contained in:
KoffeinFlummi 2015-04-14 23:13:02 +02:00
parent 8b1bce3b3d
commit 9b80245479

View File

@ -7,7 +7,7 @@ if !(hasInterface) exitWith {};
["ACE3", QGVAR(speedLimiter), localize "STR_ACE_SpeedLimiter", ["ACE3", QGVAR(speedLimiter), localize "STR_ACE_SpeedLimiter",
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isnotinside"]] call EFUNC(common,canInteractWith)) exitWith {false};
// Conditions: specific // Conditions: specific
if !(ACE_player == driver vehicle ACE_player && if !(ACE_player == driver vehicle ACE_player &&
{vehicle ACE_player isKindOf 'Car' || {vehicle ACE_player isKindOf 'Car' ||