Shouldn't shorten() also reset the counter? (#5890)

This commit is contained in:
Matthew Peng
2021-08-29 08:28:38 -04:00
committed by GitHub
parent e30d7e998d
commit 71f064bda1
+2
View File
@@ -77,6 +77,8 @@ public class Trail{
if(points.size >= 3){ if(points.size >= 3){
points.removeRange(0, 2); points.removeRange(0, 2);
} }
counter = 0f;
} }
} }