1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2025-02-04 12:28:35 +00:00

Added Confirmation dialog for Forfeit

This commit is contained in:
tommy-l-ngo
2021-11-14 00:08:16 -06:00
parent d99419901f
commit c53ce61b53
2 changed files with 5 additions and 2 deletions

View File

@@ -58,7 +58,10 @@ func display_turn():
func _on_Forfeit_pressed():
AudioBus.emit_signal("button_clicked")
end()
get_node("ConfirmationDialog").popup()
func end():
queue_free()
func _on_ConfirmationDialog_confirmed():
end()