From b706730c63663b10d7b49d24bde208995706d01a Mon Sep 17 00:00:00 2001 From: Steve Zhao Date: Sat, 13 Nov 2021 22:38:00 -0500 Subject: [PATCH] prevent switching accessory while in Zeus --- addons/accessory/fnc_switchAttachment.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/accessory/fnc_switchAttachment.sqf b/addons/accessory/fnc_switchAttachment.sqf index 18b47f5fb6..971a7db5d1 100644 --- a/addons/accessory/fnc_switchAttachment.sqf +++ b/addons/accessory/fnc_switchAttachment.sqf @@ -23,6 +23,7 @@ Author: ---------------------------------------------------------------------------- */ params ["_itemType", "_switchTo"]; +if (!isNull curatorCamera) exitWith {}; private ["_currItem", "_switchItem"]; private _unit = call CBA_fnc_currentUnit;