mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-11 18:39:16 +07:00
Fixed #4694
This commit is contained in:
parent
957583071d
commit
9d5454e5ce
Binary file not shown.
@ -208,7 +208,7 @@ public class Renderer implements ApplicationListener{
|
||||
Draw.draw(Layer.background, this::drawBackground);
|
||||
Draw.draw(Layer.floor, blocks.floor::drawFloor);
|
||||
Draw.draw(Layer.block - 1, blocks::drawShadows);
|
||||
Draw.draw(Layer.block, () -> {
|
||||
Draw.draw(Layer.block - 0.09f, () -> {
|
||||
blocks.floor.beginDraw();
|
||||
blocks.floor.drawLayer(CacheLayer.walls);
|
||||
blocks.floor.endDraw();
|
||||
|
@ -119,6 +119,7 @@ public class FloorRenderer implements Disposable{
|
||||
return;
|
||||
}
|
||||
|
||||
Draw.flush();
|
||||
cbatch.setProjection(Core.camera.mat);
|
||||
cbatch.beginDraw();
|
||||
|
||||
|
@ -100,7 +100,7 @@ public class Placement{
|
||||
i ++;
|
||||
}
|
||||
|
||||
if(!addedLast) result.add(base.peek());
|
||||
if(!addedLast && !base.isEmpty()) result.add(base.peek());
|
||||
|
||||
points.clear();
|
||||
points.addAll(result);
|
||||
|
Loading…
Reference in New Issue
Block a user