From ee393b7af2abdc333243ffb902c96ea4872a15ae Mon Sep 17 00:00:00 2001 From: Josuan Albin Date: Wed, 8 Nov 2017 16:28:16 +0100 Subject: [PATCH] Fix right panel item count not updating properly in certain scenarios --- addons/arsenal/functions/fnc_fillRightPanel.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/arsenal/functions/fnc_fillRightPanel.sqf b/addons/arsenal/functions/fnc_fillRightPanel.sqf index 69f66c80ea..275e2090ff 100644 --- a/addons/arsenal/functions/fnc_fillRightPanel.sqf +++ b/addons/arsenal/functions/fnc_fillRightPanel.sqf @@ -297,15 +297,15 @@ if (GVAR(currentLeftPanel) in [IDC_buttonUniform, IDC_buttonVest, IDC_buttonBack private _container = switch (GVAR(currentLeftPanel)) do { case IDC_buttonUniform : { (_display displayCtrl IDC_loadIndicatorBar) progressSetPosition (loadUniform GVAR(center)); - GVAR(currentItems) select 15 + uniformItems GVAR(center) }; case IDC_buttonVest : { (_display displayCtrl IDC_loadIndicatorBar) progressSetPosition (loadVest GVAR(center)); - GVAR(currentItems) select 16 + vestItems GVAR(center) }; case IDC_buttonBackpack : { (_display displayCtrl IDC_loadIndicatorBar) progressSetPosition (loadBackpack GVAR(center)); - GVAR(currentItems) select 17 + backpackItems GVAR(center) }; };