Bugfixes
This commit is contained in:
@@ -4,7 +4,10 @@ import mindustry.*;
|
||||
import mindustry.gen.*;
|
||||
import mindustry.world.*;
|
||||
|
||||
import static mindustry.Vars.state;
|
||||
|
||||
public class CoreLauncher extends Block{
|
||||
public int range = 1;
|
||||
|
||||
public CoreLauncher(String name){
|
||||
super(name);
|
||||
@@ -23,12 +26,10 @@ public class CoreLauncher extends Block{
|
||||
|
||||
@Override
|
||||
public boolean configTapped(){
|
||||
//TODO show w/ sector
|
||||
Vars.ui.planet.show();
|
||||
|
||||
if(state.isCampaign()){
|
||||
Vars.ui.planet.show(state.rules.sector, range);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,11 @@ public class ResearchBlock extends Block{
|
||||
configurable = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean outputsItems(){
|
||||
return false;
|
||||
}
|
||||
|
||||
public class ResearchBlockEntity extends TileEntity{
|
||||
public @Nullable UnlockableContent researching;
|
||||
|
||||
|
||||
@@ -132,7 +132,6 @@ public class Conveyor extends Block implements Autotiler{
|
||||
|
||||
Draw.rect(regions[blendbits][frame], x, y, tilesize * blendsclx, tilesize * blendscly, rotation * 90);
|
||||
|
||||
//TODO is sprite Z layer clustering necessary? does it create garbage?
|
||||
Draw.z(Layer.blockOver);
|
||||
|
||||
for(int i = 0; i < len; i++){
|
||||
|
||||
Reference in New Issue
Block a user