mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Fixed #11259
This commit is contained in:
parent
b31df41018
commit
a1a880a208
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ public class StackConveyor extends Block implements Autotiler{
|
|||
//draw inputs
|
||||
if(state == stateLoad){
|
||||
for(int i = 0; i < 4; i++){
|
||||
int dir = rotation - i;
|
||||
int dir = Mathf.mod(rotation - i, 4);
|
||||
var near = nearby(dir);
|
||||
if((blendprox & (1 << i)) != 0 && i != 0 && near != null && !near.block.squareSprite){
|
||||
Draw.rect(sliced(regions[0], SliceMode.bottom), x + Geometry.d4x(dir) * tilesize*0.75f, y + Geometry.d4y(dir) * tilesize*0.75f, (float)(dir*90));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue