Fixed tests
This commit is contained in:
@@ -293,7 +293,9 @@ public class Tile implements Position, QuadTreeObject, Displayable{
|
|||||||
if(build != null){
|
if(build != null){
|
||||||
build.onProximityUpdate();
|
build.onProximityUpdate();
|
||||||
}
|
}
|
||||||
pathfinder.updateTile(this);
|
if(!world.isGenerating() && pathfinder != null){
|
||||||
|
pathfinder.updateTile(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEditorTile(){
|
public boolean isEditorTile(){
|
||||||
|
|||||||
Reference in New Issue
Block a user