Cleanup
This commit is contained in:
@ -12,7 +12,7 @@ func _ready():
|
||||
assert(rotation_speed > 0, "rotation speed must be greater than zero")
|
||||
character.controlled.connect(on_controlled)
|
||||
|
||||
func _process(delta):
|
||||
func _process(delta: float):
|
||||
if absf(angle_difference(root.rotation.y, angle)) < 0.001:
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user