Fixed conveyors not moving units
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user