mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix speed limiter not working
This commit is contained in:
parent
8b1bce3b3d
commit
9b80245479
@ -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' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user