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

This commit is contained in:
Matthew Peng 2021-08-29 05:28:38 -07:00 committed by GitHub
parent e30d7e998d
commit 71f064bda1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,8 @@ public class Trail{
if(points.size >= 3){
points.removeRange(0, 2);
}
counter = 0f;
}
}