Fixed missing reference

This commit is contained in:
Eduard Urbach 2024-02-27 21:13:27 +01:00
parent 489a14061a
commit ba37eca0c9
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -9,11 +9,11 @@ var server_position: Vector3
func _init(new_player: Player):
player = new_player
movement = player.movement
name = "Controller"
process_physics_priority = 1
func _ready():
movement = player.movement
server_position = player.position
func _physics_process(delta: float):