mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
Cleanup 2
This commit is contained in:
parent
5bb0951422
commit
a77f64f2d0
@ -130,12 +130,6 @@ public class LandingPad extends Block{
|
||||
public @Nullable Item arriving;
|
||||
public float liquidRemoved;
|
||||
|
||||
@Override
|
||||
public void drawSelect(){
|
||||
super.drawSelect();
|
||||
drawItemSelection(config);
|
||||
}
|
||||
|
||||
public void handleLanding(){
|
||||
if(config == null) return;
|
||||
|
||||
@ -348,6 +342,8 @@ public class LandingPad extends Block{
|
||||
@Override
|
||||
public void drawSelect(){
|
||||
if(config != null){
|
||||
drawItemSelection(config);
|
||||
|
||||
float dx = x - size * tilesize/2f, dy = y + size * tilesize/2f, s = iconSmall / 4f;
|
||||
Draw.mixcol(Color.darkGray, 1f);
|
||||
Draw.rect(config.fullIcon, dx, dy - 1, s, s);
|
||||
|
Loading…
Reference in New Issue
Block a user