diff options
Diffstat (limited to 'client/menu')
-rw-r--r-- | client/menu/popup_message.gd | 5 | ||||
-rw-r--r-- | client/menu/popup_message.tscn | 5 |
2 files changed, 9 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")) diff --git a/client/menu/popup_message.tscn b/client/menu/popup_message.tscn index f4291c97..79beef38 100644 --- a/client/menu/popup_message.tscn +++ b/client/menu/popup_message.tscn @@ -124,6 +124,10 @@ one_shot = true wait_time = 135.0 one_shot = true +[node name="Nametags" type="Timer" parent="AutoHintTimers"] +wait_time = 160.0 +one_shot = true + [node name="Reset" type="Timer" parent="."] wait_time = 10.0 one_shot = true @@ -135,4 +139,5 @@ one_shot = true [connection signal="timeout" from="AutoHintTimers/Interact" to="." method="_on_interact_timeout"] [connection signal="timeout" from="AutoHintTimers/RotateCamera" to="." method="_on_rotate_camera_timeout"] [connection signal="timeout" from="AutoHintTimers/Zoom" to="." method="_on_zoom_timeout"] +[connection signal="timeout" from="AutoHintTimers/Nametags" to="." method="_on_nametags_timeout"] [connection signal="timeout" from="Reset" to="." method="_on_reset_timeout"] |