hot fix
This commit is contained in:
parent
55ab5c96c5
commit
94e6bcec71
@ -396,6 +396,7 @@ func toggle_pause_counter(plus := true) -> void:
|
|||||||
|
|
||||||
func quit_game() -> void:
|
func quit_game() -> void:
|
||||||
# 防止 await 阻塞导致 bug
|
# 防止 await 阻塞导致 bug
|
||||||
|
if get_node_or_null("/root/Main"):
|
||||||
get_inspector().quit_and_hidden.emit()
|
get_inspector().quit_and_hidden.emit()
|
||||||
DialogueManager.dialogue_ended.emit(null)
|
DialogueManager.dialogue_ended.emit(null)
|
||||||
get_player().os_finished.emit("")
|
get_player().os_finished.emit("")
|
||||||
|
Loading…
Reference in New Issue
Block a user