ACE3/TO_MERGE/cse/gui/functions/fn_gui_refreshLastSubMenu.sqf
Thomas Kooi db6f30fcc9 Added cse_gui source
Does not include the Icon pack. When using the UI it may throw up some missing .paa file errors. Replacements will need to be found if we want to use those.
2015-01-12 23:23:51 +01:00

20 lines
401 B
Plaintext

/**
* fn_gui_refreshLastSubMenu.sqf
* @Descr: N/A
* @Author: Glowbal
*
* @Arguments: []
* @Return:
* @PublicAPI: false
*/
private ["_lastMenu"];
_lastMenu = CMS_GUI_LATEST_SUBMENU;
if ((_lastMenu select 1) > 200 && (_lastMenu select 1) < 300) then {
call cse_fnc_gui_hideSubSubMenuButtons;
} else {
call cse_fnc_gui_hideSubMenuButtons;
};
_lastMenu call cse_fnc_gui_displaySubMenuButtons;