feat: bugfix UI dialog text

This commit is contained in:
2026-05-03 21:05:32 +08:00
parent 5ec85f3954
commit 06aad52b91
2 changed files with 2 additions and 14 deletions
+1 -3
View File
@@ -3,12 +3,10 @@ extends ConfirmationDialog
signal accepted
signal declined
@onready var _message_label: Label = %MessageLabel
func _ready() -> void:
confirmed.connect(func(): emit_signal("accepted"))
canceled.connect(func(): emit_signal("declined"))
get_cancel_button().text = "Decline"
func setup(from_name: String) -> void:
_message_label.text = "%s invited you to join their lobby!\n\nJoin now?" % from_name
dialog_text = "%s invited you to join their lobby!\n\nJoin now?" % from_name