home
This commit is contained in:
parent
209f408f1f
commit
75b4ecfda1
@ -210,7 +210,7 @@ public class buildingManagerAI {
|
||||
}
|
||||
}
|
||||
|
||||
//then reset factory production if still dont have enough credit to finish building
|
||||
//then reset factory production if still dont have enough credit to finish refinery
|
||||
hasEnoughCredit = theBaseInfo.currentCredit > 1200 -constructionYards[i].creditSpentOnBuilding;
|
||||
if(!hasEnoughCredit) {
|
||||
factory[] factories = mainThread.theAssetManager.factories;
|
||||
|
@ -215,7 +215,9 @@ public class defenseManagerAI {
|
||||
giveBackControlOfDefendersToCombatAI();
|
||||
majorThreatCooldown = 20;
|
||||
majorThreatLocation.set(mainPlayerForceLocation);
|
||||
}else {
|
||||
}
|
||||
/*
|
||||
else {
|
||||
float d = playerForceIsMovingTwoardsBase(mainPlayerForceLocation, mainPlayerForceDirection);
|
||||
if(d != -1) {
|
||||
giveBackControlOfDefendersToCombatAI();
|
||||
@ -224,7 +226,7 @@ public class defenseManagerAI {
|
||||
majorThreatLocation.add(mainPlayerForceDirection, d);
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user