From 34ab99b6873c7cd28b6e07018111911cd827fde6 Mon Sep 17 00:00:00 2001 From: Jan Heemstra Date: Sat, 26 Sep 2020 00:07:21 +0200 Subject: [PATCH] Fix synchronising blood splatter --- Player.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Player.gd b/Player.gd index 69c8dc4..ece7e59 100644 --- a/Player.gd +++ b/Player.gd @@ -168,7 +168,7 @@ master func on_hit(damage, location): else: $Sounds/Pain.play() -remote func blood_splatter(location): +sync func blood_splatter(location): var effect = bodyHitEffect.instance() get_tree().root.add_child(effect) effect.global_transform.origin = location