Update CfgVehicles.hpp

This commit is contained in:
johnb432 2024-08-04 15:42:23 +02:00
parent 9f0ba6a759
commit 34be857859

View File

@ -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);
};