feat: bugfix UI dialog text
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user