small racing game im working on
Diffstat (limited to 'ui/map.gd')
-rw-r--r--ui/map.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/map.gd b/ui/map.gd
index 2f3bf10..4dd93f5 100644
--- a/ui/map.gd
+++ b/ui/map.gd
@@ -28,7 +28,7 @@ func _ready() -> void:
add_point(p)
path.curve = curve
add_child(path)
- global_position = -box.position
+ position = -box.position
scale = vec((add((get_parent() as Container).get_rect().size) / add(box.size))/2)
mkfollower(track.finish, finish_indicator, Color.WHITE, false, true)