Update controlsUI

This commit is contained in:
adrienmalin
2019-01-17 01:28:26 +01:00
parent 1cec50f4f6
commit 8cc69e99da
4 changed files with 47 additions and 58 deletions

View File

@ -74,7 +74,7 @@ func _unhandled_input(event):
if event.is_action_pressed("pause"):
if playing:
pause($controls_ui)
elif $controls_ui.enable_resume:
else:
resume()
if event.is_action_pressed("toggle_fullscreen"):
OS.window_fullscreen = not OS.window_fullscreen