diff options
author | cel 🌸 <cel@blos.sm> | 2023-07-09 16:54:44 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-07-09 16:54:44 +0100 |
commit | 859563f6ad4370a7f5f96963d63f4d83eecad9a4 (patch) | |
tree | 58e6547ec852ac3176fa1ffb92c7ab18022d435a /Scripts/Road.gd | |
parent | 6b6d02ead8b1f5b0f5cf44d0a88abe50769128ca (diff) | |
download | 2023-859563f6ad4370a7f5f96963d63f4d83eecad9a4.tar.gz 2023-859563f6ad4370a7f5f96963d63f4d83eecad9a4.tar.bz2 2023-859563f6ad4370a7f5f96963d63f4d83eecad9a4.zip |
fix crash
Diffstat (limited to 'Scripts/Road.gd')
-rw-r--r-- | Scripts/Road.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Scripts/Road.gd b/Scripts/Road.gd index 4b19c70..db60c7d 100644 --- a/Scripts/Road.gd +++ b/Scripts/Road.gd @@ -80,3 +80,7 @@ func draw_borders(): leftBorder.add_point(point) point = points[pointIndex] - (normal*50) rightBorder.add_point(point) + +func clear_borders(): + leftBorder.clear_points() + rightBorder.clear_points() |