mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Close dialogs before open
This commit is contained in:
parent
e4aee1da2c
commit
e2e6091c1f
@ -40,6 +40,11 @@ switch (toLower _mode) do {
|
||||
GVAR(camera) = "Camera" camCreate (ASLtoATL GVAR(camPos));
|
||||
[] call FUNC(transitionCamera);
|
||||
|
||||
// Close all existing dialogs
|
||||
while {dialog} do {
|
||||
closeDialog 0;
|
||||
};
|
||||
|
||||
// Create the dialog
|
||||
createDialog QGVAR(interface);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user