mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-23 21:19:39 +07:00
parent
a7c78c4193
commit
88d1165909
@ -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){
|
||||
|
||||
}
|
||||
|
@ -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()){
|
||||
|
@ -231,7 +231,7 @@ public class Reconstructor extends UnitBlock{
|
||||
|
||||
@Override
|
||||
public boolean shouldConsume(){
|
||||
return constructing();
|
||||
return constructing() && enabled;
|
||||
}
|
||||
|
||||
public UnitType unit(){
|
||||
|
Loading…
Reference in New Issue
Block a user