Fast Glide fix

This commit is contained in:
Rammelkast committed 2016-05-28 13:17:02 +02:00
1 parent 9b87ce92eb
commit bf1d929390
1 file changed
+3
@@ -55,6 +55,9 @@ public class GlideCheck {
return new CheckResult(CheckResult.Result.FAILED, name + " attempted to fall too slowly!"); return new CheckResult(CheckResult.Result.FAILED, name + " attempted to fall too slowly!");
} }
} }
}else {
if(glideBuffer.containsKey(name))
glideBuffer.remove(name);
} }
lastYDelta.put(name, math); lastYDelta.put(name, math);
return PASS; return PASS;