From 6b8b967856e0ced898105d5772f67128c157dc60 Mon Sep 17 00:00:00 2001 From: Fabio Schick <58027418+mrschick@users.noreply.github.com> Date: Mon, 3 Feb 2025 05:03:49 +0100 Subject: [PATCH] Medical GUI - Interaction Exceptions for Medical Info Peeking (#10663) --- addons/medical_gui/initKeybinds.inc.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_gui/initKeybinds.inc.sqf b/addons/medical_gui/initKeybinds.inc.sqf index 53c577084e9..24aee81e17a 100644 --- a/addons/medical_gui/initKeybinds.inc.sqf +++ b/addons/medical_gui/initKeybinds.inc.sqf @@ -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);