Skip to content

Fix #2724 "Pressing escape opens wrong menu when watching demos".

terencehill requested to merge terencehill/welcome_dialog_fix into master

Fix #2724 (closed) "Pressing escape opens wrong menu when watching demos".

Info about the bug:
Since the Welcome dialog was opened and hidden instantly (not closed), on the next ESC press it popped up again and only on the next ESC press it was really closed.

Implementation details:
Fixed thanks to a new menu_cmd command that can close a specific dialog, or in the case of the Welcome dialog it allows initializing it without opening it

Related bug fix:
This change also gets rid of the dialog pop-up sound played on connection if menu sounds are enabled

Edited by terencehill

Merge request reports