Allowed using the ATrag, Kestrel and Rangecards inside of vehicles.

This commit is contained in:
ulteq
2015-06-11 12:05:46 +02:00
parent eb7a38e137
commit ba15db7d6a
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
["ACE3 Equipment", QGVAR(ATragMXDialogKey), localize LSTRING(ATragMXDialogKey),
{
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
if !([ACE_player, objNull, ["notOnMap", "isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
if (GVAR(active)) exitWith {
closeDialog 0;
false