diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f6d646..3c8ea59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# Changelog for Zeus Additions 27.4.2024 + +1.6.7.0 +- Fixed bug where vehicle inventory and appearance couldn't be edited via the context menu. + # Changelog for Zeus Additions 13.4.2024 1.6.6.0 diff --git a/addons/main/CfgContext.hpp b/addons/main/CfgContext.hpp index 2b48250..2ee838b 100644 --- a/addons/main/CfgContext.hpp +++ b/addons/main/CfgContext.hpp @@ -19,7 +19,7 @@ class zen_context_menu_actions { #if __has_include("\z\ace\addons\medical_gui\script_component.hpp") class GVAR(openMedicalMenuContextMenu) { - condition = QUOTE(_hoveredEntity isEqualType objNull && {_hoveredEntity = ([ARR_2(_hoveredEntity,effectiveCommander _hoveredEntity)] select (alive _hoveredEntity)); _hoveredEntity isKindOf 'CAManBase'} && {[ARR_2(objNull,_hoveredEntity)] call ace_medical_gui_fnc_canOpenMenu}); + condition = QUOTE(_hoveredEntity isEqualType objNull && {private _object = ([ARR_2(_hoveredEntity,effectiveCommander _hoveredEntity)] select (alive _hoveredEntity)); _object isKindOf 'CAManBase' && {[ARR_2(objNull,_object)] call ace_medical_gui_fnc_canOpenMenu}}); displayName = CSTRING_ACE(medical_GUI,openMedicalMenu); icon = ICON_MEDICAL; priority = 50; diff --git a/addons/main/script_version.hpp b/addons/main/script_version.hpp index 79db422..e4d3fdd 100644 --- a/addons/main/script_version.hpp +++ b/addons/main/script_version.hpp @@ -1,4 +1,4 @@ #define MAJOR 1 #define MINOR 6 -#define PATCHLVL 6 +#define PATCHLVL 7 #define BUILD 0