Fixed a typo in main.gd. Selecting units is possible now.

This commit is contained in:
awu
2025-12-26 23:18:45 +01:00
parent 2f82eb80e4
commit debed53cb6
490 changed files with 2964 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ func _ready() -> void:
if $Player.is_node_ready():
$Player.setup($Map.getGrid())
$GameBoard/Cursor.moved.connect($Player.setTarget)
$GameBoard/Cursor.accept_pressed.connect($Player.selectedUnit)
$GameBoard/Cursor.accept_pressed.connect($Player.selectUnit)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void: