aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorBigBrotherNii <nicochr1004@gmail.com>2024-07-18 00:41:28 +0200
committerBigBrotherNii <nicochr1004@gmail.com>2024-07-18 00:41:28 +0200
commit7c73b9274f42e95c094717ca3c2550426b08a9f8 (patch)
tree0de37675ccaba164390848cabac0eb751b24de63 /client
parentc4ae8c2df44cac2a8b3e4c8db43c2870b7d2bf69 (diff)
downloadhurrycurry-7c73b9274f42e95c094717ca3c2550426b08a9f8.tar
hurrycurry-7c73b9274f42e95c094717ca3c2550426b08a9f8.tar.bz2
hurrycurry-7c73b9274f42e95c094717ca3c2550426b08a9f8.tar.zst
minor improvement to the warning popup
Diffstat (limited to 'client')
-rw-r--r--client/menu/setup.gd2
-rw-r--r--client/menu/warning_popup.tscn1
2 files changed, 2 insertions, 1 deletions
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