From 9d52643637bb39fb598d6feb8d354f822dd28c6e Mon Sep 17 00:00:00 2001 From: tpart Date: Fri, 20 Sep 2024 15:22:03 +0200 Subject: Remove name tags hint --- client/global.gd | 1 - client/menu/popup_message/popup_message.gd | 5 ----- client/menu/popup_message/popup_message.tscn | 5 ----- 3 files changed, 11 deletions(-) (limited to 'client') diff --git a/client/global.gd b/client/global.gd index 41677e46..d2773f14 100644 --- a/client/global.gd +++ b/client/global.gd @@ -28,7 +28,6 @@ var default_profile := { "last_server_url": "", "tutorials_played": [], "hints": { - "has_seen_nametags": false, "has_moved": false, "has_boosted": false, "has_interacted": false, diff --git a/client/menu/popup_message/popup_message.gd b/client/menu/popup_message/popup_message.gd index 3e479b17..6c2c2c0e 100644 --- a/client/menu/popup_message/popup_message.gd +++ b/client/menu/popup_message/popup_message.gd @@ -219,11 +219,6 @@ func _on_rotate_camera_timeout(): ] )])) -func _on_nametags_timeout(): - if not Global.get_hint("has_seen_nametags") and not Global.get_setting("gameplay.usernames"): - Global.set_hint("has_seen_nametags", true) - display_hint_msg(tr("c.hint.username_tags")) - func _on_join_while_running_timeout(): if not game.is_joined and not Global.get_hint("has_seen_join_while_running"): Global.set_hint("has_seen_join_while_running", true) diff --git a/client/menu/popup_message/popup_message.tscn b/client/menu/popup_message/popup_message.tscn index 08155529..659a5b7e 100644 --- a/client/menu/popup_message/popup_message.tscn +++ b/client/menu/popup_message/popup_message.tscn @@ -123,10 +123,6 @@ 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 @@ -148,6 +144,5 @@ visible = false [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"] [connection signal="timeout" from="JoinWhileRunning" to="." method="_on_join_while_running_timeout"] -- cgit v1.2.3-70-g09d2