From 08aea74f2b6c09efcbd60046342538721867834a Mon Sep 17 00:00:00 2001 From: RudeDude001 <79261100+RudeDude001@users.noreply.github.com> Date: Thu, 4 Mar 2021 03:46:33 +0100 Subject: [PATCH] StandartDefences Transport and build a certain amount of defences on every planets or moons or both. Read the instructions --- community/Standard_Defences.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/Standard_Defences.go b/community/Standard_Defences.go index 2fd0f81..3c1f198 100644 --- a/community/Standard_Defences.go +++ b/community/Standard_Defences.go @@ -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)