ACE3/addons/microdagr/functions/fnc_dialogClosedEH.sqf
PabstMirror 95d59a1b3a Headers
2015-03-11 02:06:07 -05:00

22 lines
417 B
Plaintext

/*
* Author: PabstMirror
* Handles the dialog closeing, switches back to display mode
*
* Arguments:
* Nothing
*
* Return Value:
* Nothing
*
* Example:
* [] call ace_microdagr_fnc_dialogClosedEH
*
* Public: No
*/
#include "script_component.hpp"
if (GVAR(currentShowMode) == DISPLAY_MODE_DIALOG) then {
[-1] call FUNC(saveCurrentAndSetNewMode);
[DISPLAY_MODE_DISPLAY] call FUNC(openDisplay);
};