This commit is contained in:
Anuken
2020-11-13 17:33:32 -05:00
parent cf71356bdb
commit 04c465c8f0
8 changed files with 26 additions and 20 deletions
+1 -7
View File
@@ -351,13 +351,7 @@ public class Pathfinder implements Runnable{
threadList.add(path);
//add to main thread's list of paths
Core.app.post(() -> {
mainList.add(path);
//TODO
//if(fieldMap[team.id] != null){
// fieldMap[team.id].put(target, path);
//}
});
Core.app.post(() -> mainList.add(path));
//fill with impassables by default
for(int x = 0; x < world.width(); x++){