Fix things being detached from mech sway. (#7480)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user