Building priority fix
This commit is contained in:
@@ -69,12 +69,9 @@ abstract class BuilderComp implements Posc, Teamc, Rotc{
|
|||||||
}
|
}
|
||||||
|
|
||||||
Building core = core();
|
Building core = core();
|
||||||
BuildPlan current = buildPlan();
|
|
||||||
|
|
||||||
//nothing to build.
|
//nothing to build.
|
||||||
if(current == null) return;
|
if(buildPlan() == null) return;
|
||||||
|
|
||||||
Tile tile = current.tile();
|
|
||||||
|
|
||||||
//find the next build request
|
//find the next build request
|
||||||
if(plans.size > 1){
|
if(plans.size > 1){
|
||||||
@@ -87,6 +84,9 @@ abstract class BuilderComp implements Posc, Teamc, Rotc{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BuildPlan current = buildPlan();
|
||||||
|
Tile tile = current.tile();
|
||||||
|
|
||||||
lastActive = current;
|
lastActive = current;
|
||||||
buildAlpha = 1f;
|
buildAlpha = 1f;
|
||||||
if(current.breaking) lastSize = tile.block().size;
|
if(current.breaking) lastSize = tile.block().size;
|
||||||
|
|||||||
Reference in New Issue
Block a user