Skip to content

Commit

Permalink
Update fnc_updateCategories.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyBagpipes authored Jan 8, 2025
1 parent c803156 commit b5822e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_gui/functions/fnc_updateCategories.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ params ["_display"];
};
_ctrl ctrlEnable _enable;

if (!_enable && (EGVAR(medical_treatment,holsterRequired) == 1)) then {
if (!_enable && ((EGVAR(medical_treatment,holsterRequired) > 0) && currentWeapon ace_player isNotEqualTo "")) then {
_ctrl ctrlSetTooltip LSTRING(needToHolster);
} else {
_ctrl ctrlSetTooltip "";
Expand Down

0 comments on commit b5822e5

Please sign in to comment.