aboutsummaryrefslogtreecommitdiff
path: root/client/menu/popup_message.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-14 19:02:47 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-14 19:02:47 +0200
commit721b9ecb282f84839eb096de4d269176f8ab389f (patch)
tree1471e5395f80d9aeb04d19ea00436fe628820456 /client/menu/popup_message.gd
parent52f422a01be059a120908a8d1f63335116ccf0e1 (diff)
parent3da43172332caf76e111639281c81916e7202c4b (diff)
downloadhurrycurry-721b9ecb282f84839eb096de4d269176f8ab389f.tar
hurrycurry-721b9ecb282f84839eb096de4d269176f8ab389f.tar.bz2
hurrycurry-721b9ecb282f84839eb096de4d269176f8ab389f.tar.zst
Merge branch 'master' of codeberg.org:hurrycurry/hurrycurry
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"):