Fixed drawItemSelection squishing things

This commit is contained in:
Anuken
2025-07-03 21:23:02 -04:00
parent 835c8b4a6c
commit dd289d3d08
3 changed files with 12 additions and 4 deletions

View File

@@ -220,6 +220,14 @@ public class UnitFactory extends UnitBlock{
}
}
@Override
public void drawSelect(){
super.drawSelect();
if(plans.size > 1 && currentPlan != -1 && currentPlan < plans.size){
drawItemSelection(plans.get(currentPlan).unit);
}
}
@Override
public Vec2 getCommandPosition(){
return commandPos;