Close dialogs before open

This commit is contained in:
SilentSpike 2015-07-24 17:55:33 +01:00
parent e4aee1da2c
commit e2e6091c1f

View File

@ -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);