From 87c8fbca2f9162d0cce78b22c622c71609d133ea Mon Sep 17 00:00:00 2001 From: tpart Date: Fri, 12 Jul 2024 11:07:13 +0200 Subject: Add username tag hint --- client/menu/popup_message.gd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/menu/popup_message.gd') 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")) -- cgit v1.3