diff --git a/server/entities/characters/player.gd b/server/entities/characters/player.gd index fd3308578c7b973f4e3bfda520584615c8da2b9d..0396cf6a77aa3c4a7ea58c81fbc687f8069a1a66 100644 --- a/server/entities/characters/player.gd +++ b/server/entities/characters/player.gd @@ -225,7 +225,9 @@ func processMovement(delta:float): # Send the position of the player func broadcastMovement(): - rpc("getRemoteMovement", self.get_translation()) + var position = self.get_translation() + position.z = 0 + rpc("getRemoteMovement", position) # Check and trigger the type of attack requested