From c4002ed8c25830c0c8744c2989fa85d9277b761a Mon Sep 17 00:00:00 2001 From: Josuan Albin Date: Fri, 3 Nov 2017 16:15:24 +0100 Subject: [PATCH] Fix sharedLoadouts check --- addons/arsenal/functions/fnc_onLoadoutsOpen.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/arsenal/functions/fnc_onLoadoutsOpen.sqf b/addons/arsenal/functions/fnc_onLoadoutsOpen.sqf index 735c09e74b..402aa8de4f 100644 --- a/addons/arsenal/functions/fnc_onLoadoutsOpen.sqf +++ b/addons/arsenal/functions/fnc_onLoadoutsOpen.sqf @@ -24,7 +24,7 @@ if !(GVAR(allowDefaultLoadouts)) then { _buttonDefaultLoadoutsCtrl ctrlCommit 0; }; -if !(GVAR(allowSharedLoadouts) || {isMultiplayer}) then { +if !(GVAR(allowSharedLoadouts) && {isMultiplayer}) then { private _buttonShareLoadoutsCtrl = _display displayCtrl IDC_buttonSharedLoadouts; _buttonShareLoadoutsCtrl ctrlEnable false; _buttonShareLoadoutsCtrl ctrlCommit 0;