Minor spelling mistake.
This commit is contained in:
parent
139e9a5134
commit
3d1e6caa29
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ func bullet_sync_call(position: Vector3, rotation: Vector3) -> void:
|
|||
# Synchronizes the bullet spawn.
|
||||
@rpc("any_peer", "call_local", "reliable")
|
||||
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()):
|
||||
var bullet_instance: Bullet = bullet.instantiate()
|
||||
bullet_instance.position = position
|
||||
|
|
Loading…
Reference in a new issue