Skip to content
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 - Add new setting to hide self-interaction actions #6756

Merged
merged 2 commits into from
Jan 12, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/medical/ACE_Medical_SelfActions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Medical {
runOnHover = 1;
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
statement = QUOTE([ARR_3(_target, true, 0)] call DFUNC(displayPatientInformation));
condition = "true";
condition = QUOTE(GVAR(menuTypeStyle) != 2);
icon = QPATHTOF(UI\icons\medical_cross.paa);

class ACE_Head {
Expand Down
2 changes: 1 addition & 1 deletion addons/medical/ACE_Settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class ACE_Settings {
description = CSTRING(menuTypeDescription);
typeName = "SCALAR";
value = 0;
values[] = {CSTRING(useSelection), CSTRING(useRadial), "Disabled"};
values[] = {CSTRING(useSelection), CSTRING(useRadial), ECSTRING(common,Disabled)};
isClientSettable = 1;
};
class GVAR(delayUnconCaptive) {
Expand Down