Minor spelling mistake.

This commit is contained in:
Patrick 2024-12-19 18:06:39 +01:00
parent 139e9a5134
commit 3d1e6caa29

View file

@ -417,7 +417,7 @@ func bullet_sync_call(position: Vector3, rotation: Vector3) -> void:
# Synchronizes the bullet spawn. # Synchronizes the bullet spawn.
@rpc("any_peer", "call_local", "reliable") @rpc("any_peer", "call_local", "reliable")
func bullet_sync(position: Vector3, rotation: Vector3) -> void: func bullet_sync(position: Vector3, rotation: Vector3) -> void:
#TODO: Anti-Cheat -> Check if the gun is even equiped! #TODO: Anti-Cheat -> Check if the gun is even equipped!
if verify_id(multiplayer.get_remote_sender_id()): if verify_id(multiplayer.get_remote_sender_id()):
var bullet_instance: Bullet = bullet.instantiate() var bullet_instance: Bullet = bullet.instantiate()
bullet_instance.position = position bullet_instance.position = position