From 7c73b9274f42e95c094717ca3c2550426b08a9f8 Mon Sep 17 00:00:00 2001 From: BigBrotherNii Date: Thu, 18 Jul 2024 00:41:28 +0200 Subject: minor improvement to the warning popup --- client/menu/setup.gd | 2 +- client/menu/warning_popup.tscn | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'client/menu') diff --git a/client/menu/setup.gd b/client/menu/setup.gd index 6e901b9c..470b0839 100644 --- a/client/menu/setup.gd +++ b/client/menu/setup.gd @@ -54,7 +54,7 @@ func _process(delta): func check(): if username.text == "": return "Username cannot be empty" var n = username.text.to_lower() - if n.begins_with("f") and n.ends_with("miller"): return "You are not Frank Miller" + if n.begins_with("f") and n.ends_with("miller"): return "You cannot choose that name.\n(It's too close to your boss')" if character == -1: return "You must select a hairstyle" return null diff --git a/client/menu/warning_popup.tscn b/client/menu/warning_popup.tscn index 784011b3..4fd2fbba 100644 --- a/client/menu/warning_popup.tscn +++ b/client/menu/warning_popup.tscn @@ -37,6 +37,7 @@ theme_override_constants/separation = 16 [node name="Message" type="Label" parent="CenterContainer/Panel/MarginContainer/VBoxContainer"] layout_mode = 2 text = "You must fill out all requested fields." +horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/Panel/MarginContainer/VBoxContainer"] layout_mode = 2 -- cgit v1.2.3-70-g09d2