feature updates

This commit is contained in:
2026-02-02 16:28:53 -05:00
parent bf9aa3fa23
commit 44c06530ac
83 changed files with 282641 additions and 11251 deletions

View File

@@ -63,6 +63,17 @@ func start_game(first_player: int = -1) -> void:
players[1].draw_cards(5)
game_active = true
# Connect ability system if available
var ability_system = Engine.get_singleton("AbilitySystem")
if ability_system == null:
# Try getting from scene tree (autoload)
var tree = Engine.get_main_loop()
if tree and tree.root.has_node("AbilitySystem"):
ability_system = tree.root.get_node("AbilitySystem")
if ability_system:
ability_system.connect_to_game(self)
turn_manager.start_game(first_player)
game_started.emit()