diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 7d021b114c..1b2a8ebde3 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -770,7 +770,7 @@ public class Blocks{ }}; //1px outline + 4.50 gaussian shadow in gimp - arkyicBoulder = new StaticProp("arkyic-boulder"){{ + arkyicBoulder = new Prop("arkyic-boulder"){{ variants = 3; customShadow = true; arkyicStone.asFloor().decoration = this; @@ -801,22 +801,22 @@ public class Blocks{ shadowOffset = -2.5f; }}; - crystallineBoulder = new Prop("crystalline-boulder"){{ + crystallineBoulder = new StaticProp("crystalline-boulder"){{ variants = 2; crystallineStone.asFloor().decoration = this; }}; - redIceBoulder = new Prop("red-ice-boulder"){{ + redIceBoulder = new StaticProp("red-ice-boulder"){{ variants = 3; redIce.asFloor().decoration = this; }}; - rhyoliteBoulder = new Prop("rhyolite-boulder"){{ + rhyoliteBoulder = new StaticProp("rhyolite-boulder"){{ variants = 3; rhyolite.asFloor().decoration = roughRhyolite.asFloor().decoration = this; }}; - redStoneBoulder = new Prop("red-stone-boulder"){{ + redStoneBoulder = new StaticProp("red-stone-boulder"){{ variants = 4; denseRedStone.asFloor().decoration = redStone.asFloor().decoration = this; }}; diff --git a/core/src/mindustry/graphics/BlockRenderer.java b/core/src/mindustry/graphics/BlockRenderer.java index 767a8491fb..36b95cb537 100644 --- a/core/src/mindustry/graphics/BlockRenderer.java +++ b/core/src/mindustry/graphics/BlockRenderer.java @@ -5,6 +5,7 @@ import arc.graphics.*; import arc.graphics.Texture.*; import arc.graphics.g2d.*; import arc.graphics.gl.*; +import arc.input.*; import arc.math.*; import arc.math.geom.*; import arc.struct.*; @@ -669,7 +670,7 @@ public class BlockRenderer{ drawDestroyed(); - if(chunksToDraw.size > 0){ + if(chunksToDraw.size > 0 && !input.keyDown(KeyCode.y)){ for(int mlayer = 0; mlayer < BuildingCacheLayer.amount; mlayer++){ int layer = mlayer;