From a09c53b7235476a8cebba9aa5304774797f96436 Mon Sep 17 00:00:00 2001 From: Raymix Date: Wed, 2 Aug 2017 21:53:31 +0100 Subject: [PATCH] favbar: return on void 2 --- Sources/epoch_code/gui/scripts/favBar/epoch_favBar_draw.sqf | 1 + .../epoch_code/gui/scripts/favBar/epoch_favBar_drawCurrent.sqf | 3 ++- .../epoch_code/gui/scripts/favBar/epoch_favBar_inventory.sqf | 1 + .../epoch_code/gui/scripts/favBar/epoch_favBar_modifier.sqf | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_draw.sqf b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_draw.sqf index 779dd6b9..0eaf9bdd 100644 --- a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_draw.sqf +++ b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_draw.sqf @@ -117,3 +117,4 @@ switch _action do { for "_i" from 1 to 5 do { (["fav_pic_bg", _i] call epoch_getHUDCtrl) ctrlSetText "x\addons\a3_epoch_code\Data\UI\favbar\fav_bg.paa"; }; +true diff --git a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_drawCurrent.sqf b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_drawCurrent.sqf index 8caf04ad..1c8f7912 100644 --- a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_drawCurrent.sqf +++ b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_drawCurrent.sqf @@ -1,4 +1,5 @@ for "_i" from 0 to 4 do { _c = (["fav_pic", _i+1] call epoch_getHUDCtrl); _c ctrlSetText ((rmx_var_favBar_current select _i) call EPOCH_itemPicture); -}; \ No newline at end of file +}; +true \ No newline at end of file diff --git a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_inventory.sqf b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_inventory.sqf index 7ad04101..7eac545f 100644 --- a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_inventory.sqf +++ b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_inventory.sqf @@ -75,6 +75,7 @@ for "_i" from 1 to 5 do { (["fav_pic_bg", _i] call epoch_getHUDCtrl) ctrlShow true; }; +true /* { _crl = _display displayCtrl _x; diff --git a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_modifier.sqf b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_modifier.sqf index 32868bcf..0f9b479d 100644 --- a/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_modifier.sqf +++ b/Sources/epoch_code/gui/scripts/favBar/epoch_favBar_modifier.sqf @@ -5,4 +5,5 @@ case [false,false,true]:{rmx_var_favBar_current = rmx_var_favBar_MAlt;}; default {rmx_var_favBar_current = rmx_var_favBar_MNone;}; }; call epoch_favBar_drawCurrent; -call epoch_favBar_refresh; \ No newline at end of file +call epoch_favBar_refresh; +true \ No newline at end of file