mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
417 B
Plaintext
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);
|
|
};
|