Skip to content

Commit

Permalink
Restore escape opens the quit menu
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanLovato committed Oct 23, 2020
1 parent d5beb39 commit 145b620
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions project/World/GameInitializer.gd
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ func _input(event: InputEvent) -> void:
if event.is_action_pressed("toggle_fullscreen"):
OS.window_fullscreen = not OS.window_fullscreen
get_tree().set_input_as_handled()
if event.is_action_pressed("ui_cancel"):
Events.emit_signal("upgrade_unlocked")


func _on_Spawner_pirate_spawned(pirate: PirateShip) -> void:
Expand Down

0 comments on commit 145b620

Please sign in to comment.