aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2021-06-19 18:08:56 -0600
committerDerek Stevens <nilix@nilfm.cc>2021-06-19 18:08:56 -0600
commit8bb4bd9c8de8b3fb282df4fa57c297e04f71455b (patch)
treeed97d3aad17804381ae7cc770207e0eabb169eca
parent936fb006ad779f42474dacdc843f746c25c58a70 (diff)
fix AI.buildUnits()
-rw-r--r--AI.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/AI.js b/AI.js
index 7db3664..6ec5aa4 100644
--- a/AI.js
+++ b/AI.js
@@ -784,7 +784,6 @@ AI.buildUnits = function()
{
buildBattleAngel();
}
- else return;
}
else if (teams.cpu.energy >= 120)
{
@@ -796,7 +795,6 @@ AI.buildUnits = function()
{
buildAce();
}
- else return;
}
else if (teams.cpu.energy >= 80)
{
@@ -808,7 +806,6 @@ AI.buildUnits = function()
{
buildKnight();
}
- else return;
}
else if (teams.cpu.energy >= 50)
{
@@ -820,7 +817,6 @@ AI.buildUnits = function()
{
buildRanger();
}
- else return;
}
else if (teams.cpu.energy >= 30)
{