Nuking UI global scene
This commit is contained in:
@@ -12,11 +12,11 @@ func isMovementPaused() -> bool:
|
||||
if cutscenePaused:
|
||||
return true
|
||||
|
||||
if !UI.TEXTBOX.isClosed:
|
||||
return true
|
||||
# if !UI.TEXTBOX.isClosed:
|
||||
# return true
|
||||
|
||||
if UI.PAUSE.isOpen():
|
||||
return true
|
||||
# if UI.PAUSE.isOpen():
|
||||
# return true
|
||||
|
||||
if OVERWORLD.isMapChanging():
|
||||
return true
|
||||
@@ -24,7 +24,8 @@ func isMovementPaused() -> bool:
|
||||
return false
|
||||
|
||||
func menuPause() -> void:
|
||||
if UI.PAUSE.isOpen():
|
||||
UI.PAUSE.close()
|
||||
else:
|
||||
UI.PAUSE.open()
|
||||
# if UI.PAUSE.isOpen():
|
||||
# UI.PAUSE.close()
|
||||
# else:
|
||||
# UI.PAUSE.open()
|
||||
pass
|
||||
Reference in New Issue
Block a user