mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Close all dialogs when exiting
This commit is contained in:
parent
f0f6edb549
commit
efbd5189ce
@ -60,7 +60,10 @@ switch (toLower _mode) do {
|
|||||||
if (isNull (GETUVAR(GVAR(display),displayNull))) exitWith {};
|
if (isNull (GETUVAR(GVAR(display),displayNull))) exitWith {};
|
||||||
|
|
||||||
// Terminate interface
|
// Terminate interface
|
||||||
(GETUVAR(GVAR(display),displayNull)) closeDisplay 0;
|
while {dialog} do {
|
||||||
|
closeDialog 0;
|
||||||
|
};
|
||||||
|
GETUVAR(GVAR(display),displayNull) closeDisplay 0;
|
||||||
|
|
||||||
// Terminate camera
|
// Terminate camera
|
||||||
GVAR(camera) cameraEffect ["terminate", "back"];
|
GVAR(camera) cameraEffect ["terminate", "back"];
|
||||||
|
Loading…
Reference in New Issue
Block a user