diff --git a/core/src/mindustry/world/blocks/units/UnitAssembler.java b/core/src/mindustry/world/blocks/units/UnitAssembler.java index 8494e6a560..c3fa550c58 100644 --- a/core/src/mindustry/world/blocks/units/UnitAssembler.java +++ b/core/src/mindustry/world/blocks/units/UnitAssembler.java @@ -241,8 +241,8 @@ public class UnitAssembler extends PayloadBlock{ public boolean moduleFits(Block other, float ox, float oy, int rotation){ float - dx = ox + Geometry.d4x(rotation) * (other.size/2 + 1) * tilesize, - dy = oy + Geometry.d4y(rotation) * (other.size/2 + 1) * tilesize; + dx = ox + Geometry.d4x(rotation) * (other.size/2f + 0.5f) * tilesize, + dy = oy + Geometry.d4y(rotation) * (other.size/2f + 0.5f) * tilesize; Vec2 spawn = getUnitSpawn();