Fixed missing reference
This commit is contained in:
parent
489a14061a
commit
ba37eca0c9
@ -9,11 +9,11 @@ var server_position: Vector3
|
|||||||
|
|
||||||
func _init(new_player: Player):
|
func _init(new_player: Player):
|
||||||
player = new_player
|
player = new_player
|
||||||
movement = player.movement
|
|
||||||
name = "Controller"
|
name = "Controller"
|
||||||
process_physics_priority = 1
|
process_physics_priority = 1
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
|
movement = player.movement
|
||||||
server_position = player.position
|
server_position = player.position
|
||||||
|
|
||||||
func _physics_process(delta: float):
|
func _physics_process(delta: float):
|
||||||
|
Loading…
Reference in New Issue
Block a user