This commit is contained in:
Anuken
2022-09-12 19:47:58 -04:00
3 changed files with 9 additions and 5 deletions

View File

@ -1181,10 +1181,6 @@ public class UnitType extends UnlockableContent{
drawShield(unit);
}
if(mech != null){
unit.trns(-legOffset.x, -legOffset.y);
}
//TODO how/where do I draw under?
if(parts.size > 0){
for(int i = 0; i < parts.size; i++){
@ -1212,6 +1208,10 @@ public class UnitType extends UnlockableContent{
}
}
if(mech != null){
unit.trns(-legOffset.x, -legOffset.y);
}
Draw.reset();
}

View File

@ -408,12 +408,12 @@ public class Weapon implements Cloneable{
}
shoot.shoot(mount.totalShots, (xOffset, yOffset, angle, delay, mover) -> {
mount.totalShots++;
if(delay > 0f){
Time.run(delay, () -> bullet(unit, mount, xOffset, yOffset, angle, mover));
}else{
bullet(unit, mount, xOffset, yOffset, angle, mover);
}
mount.totalShots++;
});
}

View File

@ -139,4 +139,8 @@
"name": "OMNIDUSTRY",
"address": ["109.94.209.233"]
}
{
"name": "New Campaign Like",
"address": ["n5.yeet.ml:6568"]
},
]