ACE3/addons/microdagr/functions/fnc_dialogClosedEH.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

22 lines
411 B
Plaintext

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