Fix synchronising blood splatter

remotes/1705382094874458415/tmp_refs/heads/godot4-port
Jan Heemstra 2020-09-26 00:07:21 +02:00
parent f9c8ccaf35
commit 34ab99b687
1 changed files with 1 additions and 1 deletions

View File

@ -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