add whistle to train
This commit is contained in:
@@ -107,3 +107,9 @@ func _on_fog_toggled(toggled_on: bool) -> void:
|
||||
|
||||
func _on_update_rails_pressed() -> void:
|
||||
UIEvents.update_rail_chunks.emit()
|
||||
|
||||
func _on_toot_toot_pressed() -> void:
|
||||
UIEvents.toot_toot.emit()
|
||||
|
||||
func _on_reset_stats_ach_pressed() -> void:
|
||||
StatsManager.reset_all(true)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extends Node3D
|
||||
|
||||
func _input(event):
|
||||
if event is InputEventKey and event.pressed:
|
||||
if event.keycode == KEY_ESCAPE:
|
||||
get_tree().quit()
|
||||
#func _input(event):
|
||||
#if event is InputEventKey and event.pressed:
|
||||
#if event.keycode == KEY_ESCAPE:
|
||||
#get_tree().quit()
|
||||
|
||||
Reference in New Issue
Block a user