summaryrefslogtreecommitdiff
path: root/client/menu/popup_message.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/popup_message.gd')
-rw-r--r--client/menu/popup_message.gd5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/menu/popup_message.gd b/client/menu/popup_message.gd
index 1748f59a..2d707289 100644
--- a/client/menu/popup_message.gd
+++ b/client/menu/popup_message.gd
@@ -32,7 +32,7 @@ var is_joined := false
@onready var reset_timer = $Reset
-@onready var game: Game = get_parent()
+@onready var game: Game = $"../Game"
func _ready():
game.joined.connect(
@@ -112,7 +112,8 @@ func _on_move_timeout():
func _on_interact_timeout():
if not Global.get_hint("has_interacted") and not Global.get_setting("touch_controls"):
- display_hint_msg(tr("Press %s to pick up items and interact with tools") % display_keybind(tr("SPACE"), "A"))
+ var keybind = display_keybind(tr("SPACE"), "A")
+ display_hint_msg(tr("Press %s to pick up items and hold %s to interact with tools") % [keybind, keybind])
func _on_reset_timeout():
if not Global.get_hint("has_reset") and not Global.get_setting("touch_controls"):