now correctly removes player and enemy monster node
This commit is contained in:
parent
4963131d3e
commit
c9458f3627
3 changed files with 7 additions and 4 deletions
|
|
@ -127,6 +127,8 @@ func handle_battle() -> void:
|
|||
UI.battle_ui.set_message("You won!")
|
||||
await get_tree().create_timer(3.0).timeout
|
||||
battle_state = Global.BattleState.NOT_IN_BATTLE
|
||||
enemy.queue_free()
|
||||
player_monster.queue_free()
|
||||
UI.ingame_menu.update()
|
||||
UI.show_battle_ui(false)
|
||||
UI.show_ingame_controls(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue