aboutsummaryrefslogtreecommitdiff
path: root/client/menu/popup_message.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-07-12 11:07:13 +0200
committertpart <tpart120@proton.me>2024-07-12 11:07:13 +0200
commit87c8fbca2f9162d0cce78b22c622c71609d133ea (patch)
tree7865671945a02f1e96aeba1c938065a92a66fc4d /client/menu/popup_message.gd
parent0a3c0c62b90474849e8407fd95a1e316b17f2900 (diff)
downloadhurrycurry-87c8fbca2f9162d0cce78b22c622c71609d133ea.tar
hurrycurry-87c8fbca2f9162d0cce78b22c622c71609d133ea.tar.bz2
hurrycurry-87c8fbca2f9162d0cce78b22c622c71609d133ea.tar.zst
Add username tag hint
Diffstat (limited to 'client/menu/popup_message.gd')
-rw-r--r--client/menu/popup_message.gd5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/menu/popup_message.gd b/client/menu/popup_message.gd
index 83edba1e..ab4f5dce 100644
--- a/client/menu/popup_message.gd
+++ b/client/menu/popup_message.gd
@@ -139,4 +139,7 @@ func _on_rotate_camera_timeout():
if not Global.get_setting("has_rotated") and not Global.get_setting("touch_controls"):
display_hint_msg(tr("Use %s to reset the camera view") % display_keybind(tr("arrow keys"), tr("right stick")))
-
+func _on_nametags_timeout():
+ if not Global.get_setting("has_seen_nametags"):
+ Global.set_setting("has_seen_nametags", true)
+ display_hint_msg(tr("Username tags can be enabled in the settings"))