crucial performance optimization

This commit is contained in:
Leijurv 2019-01-05 23:38:24 -08:00
parent 7898b24bac
commit 8b6d621d20
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public class PathingControlManager implements IPathingControlManager {
boolean found = false;
boolean cancelOthers = false;
PathingCommand exec = null;
for (int i = inContention.size() - 1; i >= 0; i--) { // truly a gamer moment
for (int i = inContention.size() - 1; i >= 0; --i) { // truly a gamer moment
IBaritoneProcess proc = inContention.get(i);
if (found) {
if (cancelOthers) {