ACE3/addons/microdagr/functions/fnc_dialogClosedEH.sqf
2015-08-26 05:31:33 +02:00

22 lines
408 B
Plaintext

/*
* Author: PabstMirror
* Handles the dialog closeing, switches back to display mode
*
* Arguments:
* None
*
* Return Value:
* None
*
* 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);
};