mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-21 01:37:13 +07:00
ok glenn
This commit is contained in:
parent
8f17fb43a6
commit
eef1d68d4c
@ -97,12 +97,12 @@ public class Trail{
|
||||
|
||||
/** Removes the last point from the trail at intervals. */
|
||||
public void shorten(){
|
||||
if((counter += Time.delta) >= 0.99f){
|
||||
if((counter += Time.delta) >= 1f){
|
||||
if(points.size >= 3){
|
||||
points.removeRange(0, 2);
|
||||
}
|
||||
|
||||
counter = 0f;
|
||||
counter %= 1f;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user