Update Main.gd
This commit is contained in:
parent
8ffd54ad8f
commit
90d3481fb5
@ -105,7 +105,7 @@ func _unhandled_input(event):
|
|||||||
if event.is_action_pressed("toggle_fullscreen"):
|
if event.is_action_pressed("toggle_fullscreen"):
|
||||||
OS.window_fullscreen = !OS.window_fullscreen
|
OS.window_fullscreen = !OS.window_fullscreen
|
||||||
if playing:
|
if playing:
|
||||||
if event.is_action_released(autoshift_action):
|
if autoshift_action and event.is_action_released(autoshift_action):
|
||||||
$AutoShiftDelay.stop()
|
$AutoShiftDelay.stop()
|
||||||
$AutoShiftTimer.stop()
|
$AutoShiftTimer.stop()
|
||||||
autoshift_action = ""
|
autoshift_action = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user