Skip to content

Commit

Permalink
Medical GUI - Interaction Exceptions for Medical Info Peeking (#10663)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrschick authored Feb 3, 2025
1 parent ca6f029 commit 6b8b967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_gui/initKeybinds.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

["ACE3 Common", QGVAR(peekMedicalInfoKey), LLSTRING(PeekMedicalInfo), {
// Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
if !([ACE_player, objNull, ["isNotInside", "isNotSwimming", "isNotEscorting", "isNotDragging", "isNotCarrying", "isNotOnLadder"]] call EFUNC(common,canInteractWith)) exitWith {false};

// Statement
[ACE_player, -1] call FUNC(displayPatientInformation);
Expand Down

0 comments on commit 6b8b967

Please sign in to comment.