-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Medical GUI - Add tooltip in medical menu for holster required setting #10634
base: master
Are you sure you want to change the base?
Conversation
@@ -26,6 +26,12 @@ params ["_display"]; | |||
}; | |||
_ctrl ctrlEnable _enable; | |||
|
|||
if (!_enable && ((EGVAR(medical_treatment,holsterRequired) > 0) && currentWeapon ace_player isNotEqualTo "")) then { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of how I've done this, as it's pretty unyielding - but provides a catch-all that will work for all setting presets even if other options (such as just lowering the weapon) is allowed
Found an issue in it removing the previous tooltip, one moment to fix |
Tooltips are already handled elsewhere
Fixed |
Now should be all good |
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
When merged this pull request will:
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.