Misc bugfixes and tweaks

This commit is contained in:
Anuken 2022-09-10 15:49:58 -04:00
parent b2e960a038
commit 77ddbd027a
4 changed files with 5 additions and 2 deletions

View File

@ -2965,7 +2965,6 @@ public class UnitTypes{
}));
collidesTiles = true;
recoil = 0.5f;
backColor = hitColor = Pal.techBlue;
frontColor = Color.white;

View File

@ -20,6 +20,7 @@ public class Junction extends Block{
underBullets = true;
group = BlockGroup.transportation;
unloadable = false;
floating = true;
noUpdateDisabled = true;
}

View File

@ -14,6 +14,7 @@ public class LiquidRouter extends LiquidBlock{
solid = false;
noUpdateDisabled = true;
canOverdrive = false;
floating = true;
}
@Override

View File

@ -91,7 +91,9 @@ public class UnitCargoLoader extends Block{
if(readUnitId != -1){
unit = Groups.unit.getByID(readUnitId);
readUnitId = -1;
if(unit != null || !net.client()){
readUnitId = -1;
}
}
warmup = Mathf.approachDelta(warmup, efficiency, 1f / 60f);