@@ -19,8 +19,7 @@ public abstract class PlanetMesh implements GenericMesh{
|
|||||||
|
|
||||||
public PlanetMesh(){}
|
public PlanetMesh(){}
|
||||||
|
|
||||||
/** Should be overridden to set up any shader parameters such as planet position, normals, etc.
|
/** Should be overridden to set up any shader parameters such as planet position, normals, etc. */
|
||||||
* @param params*/
|
|
||||||
public void preRender(PlanetParams params){
|
public void preRender(PlanetParams params){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ public class OverdriveProjector extends Block{
|
|||||||
float realRange = range + phaseHeat * phaseRangeBoost;
|
float realRange = range + phaseHeat * phaseRangeBoost;
|
||||||
|
|
||||||
charge = 0f;
|
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()){
|
if(timer(timerUse, useTime) && efficiency() > 0 && consValid()){
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ public class Reconstructor extends UnitBlock{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldConsume(){
|
public boolean shouldConsume(){
|
||||||
return constructing();
|
return constructing() && enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UnitType unit(){
|
public UnitType unit(){
|
||||||
|
|||||||
Reference in New Issue
Block a user