Fixed team interactions

This commit is contained in:
Rendo 2025-11-27 11:30:42 +05:00
commit 917d52680c
5 changed files with 45 additions and 21 deletions

View file

@ -30,5 +30,5 @@ func _input(event: InputEvent) -> void:
rotate_camera(-event.relative.x * SENSITIVITY,-event.relative.y * SENSITIVITY)
@rpc("any_peer","call_local","reliable")
func set_start_position(start_position: Vector3):
func set_after_spawn(start_position: Vector3, _team: int):
global_position = start_position