Skip to content

Commit

Permalink
StandartDefences
Browse files Browse the repository at this point in the history
Transport and build a certain amount of defences on every planets or moons or both.
Read the instructions
  • Loading branch information
RudeDude001 committed Mar 4, 2021
1 parent 9138f6f commit 08aea74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion community/Standard_Defences.go
Expand Up @@ -60,7 +60,7 @@ func buildefense(celestial, sumrocket, sumllaser, sumhlaser, sumgauss, sumplasma
goalllaser = missingllaser
goalhlaser = missinghlaser
restosend = price1.Add(price2).Add(price3)
} else if res.Gte(price1.Add(price2)) && (missingrocket > 0 || missinglaserini > 0) {
} else if res.Gte(price1.Add(price2)) && (missingrocket > 0 || missingllaser > 0) {
goalrocket = missingrocket
goalllaser = missingllaser
restosend = price1.Add(price2)
Expand Down

0 comments on commit 08aea74

Please sign in to comment.