Added oil block, power section, more block types

This commit is contained in:
Anuken
2017-10-23 23:13:07 -04:00
parent 41720e2e3f
commit 03a26f74c2
26 changed files with 640 additions and 439 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ public class Pathfind{
}
static public void updatePath(){
if(paths.size == 0){
if(paths.size == 0 || paths.size != World.spawnpoints.size){
paths.clear();
pathSequences = new Tile[World.spawnpoints.size][0];
for(int i = 0; i < World.spawnpoints.size; i ++){
SmoothGraphPath path = new SmoothGraphPath();