Skip to content

Commit

Permalink
prevent switching accessory while in Zeus
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersand38 committed Nov 14, 2021
1 parent 1f780ae commit b706730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/accessory/fnc_switchAttachment.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Author:
---------------------------------------------------------------------------- */

params ["_itemType", "_switchTo"];
if (!isNull curatorCamera) exitWith {};

private ["_currItem", "_switchItem"];
private _unit = call CBA_fnc_currentUnit;
Expand Down

0 comments on commit b706730

Please sign in to comment.