Fixed conveyors not moving units

This commit is contained in:
Anuken
2020-08-20 16:34:41 -04:00
parent b9ff4ba9c5
commit c946b42360

View File

@@ -170,13 +170,14 @@ public class Conveyor extends Block implements Autotiler{
@Override @Override
public void unitOn(Unit unit){ public void unitOn(Unit unit){
if(clogHeat > 0.5f){ if(clogHeat > 0.5f){
return; return;
} }
noSleep(); noSleep();
float mspeed = speed * tilesize / 2.4f; float mspeed = speed * tilesize * 55f;
float centerSpeed = 0.1f; float centerSpeed = 0.1f;
float centerDstScl = 3f; float centerDstScl = 3f;
float tx = Geometry.d4[rotation].x, ty = Geometry.d4[rotation].y; float tx = Geometry.d4[rotation].x, ty = Geometry.d4[rotation].y;