Conduit padCorners fix

This commit is contained in:
Anuken
2023-06-19 10:56:30 -04:00
parent 014750fa97
commit f4dcd37be3

View File

@@ -188,7 +188,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
int gas = liquids.current().gas ? 1 : 0;
float ox = 0f, oy = 0f;
int wrapRot = (rotation + offset) % 4;
TextureRegion liquidr = bits == 1 ? rotateRegions[wrapRot][gas][frame] : renderer.fluidFrames[gas][frame];
TextureRegion liquidr = bits == 1 && padCorners ? rotateRegions[wrapRot][gas][frame] : renderer.fluidFrames[gas][frame];
if(bits == 1 && padCorners){
ox = rotateOffsets[wrapRot][0];