From cfe80919019218af0a5000db19d2cc84e290eaff Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 14 Apr 2024 04:04:26 +0200 Subject: [PATCH] Make type of `MoveTowardsMouse.speed` explicit --- behaviours/move_towards_mouse.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/behaviours/move_towards_mouse.gd b/behaviours/move_towards_mouse.gd index 72db730..3306d2b 100644 --- a/behaviours/move_towards_mouse.gd +++ b/behaviours/move_towards_mouse.gd @@ -6,7 +6,7 @@ signal move(movement: Vector2) signal captured -@export_range(-500, 500, 1) var speed := 100.0 +@export_range(-500, 500, 1) var speed: float = 100.0 @onready var viewport: Viewport = get_viewport()