This commit is contained in:
Anuken 2021-10-23 09:26:30 -04:00
parent a7c78c4193
commit 88d1165909
3 changed files with 3 additions and 4 deletions

View File

@ -19,8 +19,7 @@ public abstract class PlanetMesh implements GenericMesh{
public PlanetMesh(){}
/** Should be overridden to set up any shader parameters such as planet position, normals, etc.
* @param params*/
/** Should be overridden to set up any shader parameters such as planet position, normals, etc. */
public void preRender(PlanetParams params){
}

View File

@ -109,7 +109,7 @@ public class OverdriveProjector extends Block{
float realRange = range + phaseHeat * phaseRangeBoost;
charge = 0f;
indexer.eachBlock(this, realRange, other -> true, other -> other.applyBoost(realBoost(), reload + 1f));
indexer.eachBlock(this, realRange, other -> other.block.canOverdrive, other -> other.applyBoost(realBoost(), reload + 1f));
}
if(timer(timerUse, useTime) && efficiency() > 0 && consValid()){

View File

@ -231,7 +231,7 @@ public class Reconstructor extends UnitBlock{
@Override
public boolean shouldConsume(){
return constructing();
return constructing() && enabled;
}
public UnitType unit(){