From 34be857859e8b49e6ea8dd26883a9a9462979754 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Sun, 4 Aug 2024 15:42:23 +0200 Subject: [PATCH] Update CfgVehicles.hpp --- addons/medical_treatment/CfgVehicles.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_treatment/CfgVehicles.hpp b/addons/medical_treatment/CfgVehicles.hpp index 4d296d07c8..e82624bbfa 100644 --- a/addons/medical_treatment/CfgVehicles.hpp +++ b/addons/medical_treatment/CfgVehicles.hpp @@ -31,7 +31,7 @@ class CfgVehicles { selection = ""; class GVAR(buryBodyBag) { displayName = CSTRING(DigGrave); - condition = QUOTE(GETEGVAR(medical,enabled,false) && {[ARR_2(_this#1,_this#0)] call FUNC(canDigGrave)}); + condition = QUOTE(missionNamespace getVariable [ARR_2(QQEGVAR(medical,enabled),false)] && {[ARR_2(_this#1,_this#0)] call FUNC(canDigGrave)}); statement = QUOTE(_this call FUNC(placeBodyBagInGrave)); icon = QPATHTOEF(medical_gui,ui\grave.paa); };