From 75934f883c48654b07cfafa369799a8e672a1cde Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Wed, 7 Jul 2021 12:10:35 -0500 Subject: [PATCH] Rangecard - All use inside vehicles via interaction menu (#8310) --- addons/rangecard/CfgVehicles.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/rangecard/CfgVehicles.hpp b/addons/rangecard/CfgVehicles.hpp index 5974e62e69..ef54c49428 100644 --- a/addons/rangecard/CfgVehicles.hpp +++ b/addons/rangecard/CfgVehicles.hpp @@ -20,14 +20,14 @@ class CfgVehicles { statement = QUOTE(false call FUNC(openRangeCard)); showDisabled = 0; icon = QPATHTOF(UI\RangeCard_Icon.paa); - exceptions[] = {"notOnMap"}; + exceptions[] = {"notOnMap", "isNotInside"}; class GVAR(openCopy) { displayName = CSTRING(OpenRangeCardCopy); condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened)); statement = QUOTE(true call FUNC(openRangeCard)); showDisabled = 0; icon = QPATHTOF(UI\RangeCard_Icon.paa); - exceptions[] = {"notOnMap"}; + exceptions[] = {"notOnMap", "isNotInside"}; }; class GVAR(makeCopy) { displayName = CSTRING(CopyRangeCard); @@ -35,7 +35,7 @@ class CfgVehicles { statement = QUOTE(GVAR(zeroRangeCopy)=GVAR(zeroRange); GVAR(boreHeightCopy)=GVAR(boreHeight); GVAR(ammoClassCopy)=GVAR(ammoClass); GVAR(magazineClassCopy)=GVAR(magazineClass); GVAR(weaponClassCopy)=GVAR(weaponClass);); showDisabled = 0; icon = QPATHTOF(UI\RangeCard_Icon.paa); - exceptions[] = {"notOnMap"}; + exceptions[] = {"notOnMap", "isNotInside"}; }; }; };