diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 4393a72fba..11de55975b 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -442,7 +442,7 @@ public class Blocks implements ContentList{ Seq.with(metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6) .each(b -> b.asFloor().wall = darkMetal); - pebbles = new DoubleOverlayFloor("pebbles"); + pebbles = new OverlayFloor("pebbles"); tendrils = new OverlayFloor("tendrils"); diff --git a/core/src/mindustry/world/blocks/environment/DoubleOverlayFloor.java b/core/src/mindustry/world/blocks/environment/DoubleOverlayFloor.java index c26107caa1..5d6af64871 100644 --- a/core/src/mindustry/world/blocks/environment/DoubleOverlayFloor.java +++ b/core/src/mindustry/world/blocks/environment/DoubleOverlayFloor.java @@ -1,20 +1,10 @@ package mindustry.world.blocks.environment; -import arc.graphics.g2d.*; -import arc.math.*; -import mindustry.world.*; - +/** @deprecated pointless, just use your own sprite instead */ +@Deprecated public class DoubleOverlayFloor extends OverlayFloor{ public DoubleOverlayFloor(String name){ super(name); } - - @Override - public void drawBase(Tile tile){ - Draw.colorl(0.4f); - Draw.rect(variantRegions[Mathf.randomSeed(tile.pos(), 0, Math.max(0, variantRegions.length - 1))], tile.worldx(), tile.worldy() - 0.75f); - Draw.color(); - Draw.rect(variantRegions[Mathf.randomSeed(tile.pos(), 0, Math.max(0, variantRegions.length - 1))], tile.worldx(), tile.worldy()); - } }