Browse Source

Corner trebs go into slot 1.

master
MagicBot 2 years ago
parent
commit
55fc6a68e1
  1. 7
      src/engine/objects/Mob.java

7
src/engine/objects/Mob.java

@ -1916,10 +1916,11 @@ public class Mob extends AbstractIntelligenceAgent {
int count = 0; int count = 0;
// if it's a wall piece then the slot will be +1 // if Arty Tower then the slot will always be 1
if (Blueprint.isMeshWallPiece(building.meshUUID)) if (building.getBlueprint() != null &&
putSlot = putSlot =1; building.getBlueprint().getBuildingGroup().equals(BuildingGroup.ARTYTOWER))
putSlot = 1;
for (BuildingLocation slotLoc : buildingModel.getLocations()) for (BuildingLocation slotLoc : buildingModel.getLocations())
if (slotLoc.getType() == 6) if (slotLoc.getType() == 6)

Loading…
Cancel
Save