From 71ed5591506bfc24764226d50e9bffcbb6c63bf3 Mon Sep 17 00:00:00 2001 From: copygirl Date: Thu, 14 Aug 2025 22:51:17 +0200 Subject: [PATCH] Fix error message when copyMultiplayer is missing The error is just cosmetic, functionality stayed the same. --- copyThrower.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyThrower.gd b/copyThrower.gd index 16eb6a1..29a9071 100644 --- a/copyThrower.gd +++ b/copyThrower.gd @@ -156,7 +156,7 @@ func _throw_hearts_in_queue(delta: float) -> void: if not skeleton: return # copyMultiplayer support: Target a random player's skeleton. - var copyMP = $"../copyMultiplayer" + var copyMP = get_node_or_null("../copyMultiplayer") if copyMP: skeleton = ([ skeleton ] + copyMP.get_all_sync_controllers() .map(func(c): return c.skeleton).filter(func(s): return s != null)).pick_random()