Misc bugfixes and tweaks
This commit is contained in:
@@ -2965,7 +2965,6 @@ public class UnitTypes{
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
collidesTiles = true;
|
collidesTiles = true;
|
||||||
recoil = 0.5f;
|
|
||||||
backColor = hitColor = Pal.techBlue;
|
backColor = hitColor = Pal.techBlue;
|
||||||
frontColor = Color.white;
|
frontColor = Color.white;
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ public class Junction extends Block{
|
|||||||
underBullets = true;
|
underBullets = true;
|
||||||
group = BlockGroup.transportation;
|
group = BlockGroup.transportation;
|
||||||
unloadable = false;
|
unloadable = false;
|
||||||
|
floating = true;
|
||||||
noUpdateDisabled = true;
|
noUpdateDisabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ public class LiquidRouter extends LiquidBlock{
|
|||||||
solid = false;
|
solid = false;
|
||||||
noUpdateDisabled = true;
|
noUpdateDisabled = true;
|
||||||
canOverdrive = false;
|
canOverdrive = false;
|
||||||
|
floating = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -91,7 +91,9 @@ public class UnitCargoLoader extends Block{
|
|||||||
|
|
||||||
if(readUnitId != -1){
|
if(readUnitId != -1){
|
||||||
unit = Groups.unit.getByID(readUnitId);
|
unit = Groups.unit.getByID(readUnitId);
|
||||||
readUnitId = -1;
|
if(unit != null || !net.client()){
|
||||||
|
readUnitId = -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
warmup = Mathf.approachDelta(warmup, efficiency, 1f / 60f);
|
warmup = Mathf.approachDelta(warmup, efficiency, 1f / 60f);
|
||||||
|
|||||||
Reference in New Issue
Block a user