Fixed #11259
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user