Explorar o código

Trying to better detect next planet upgrade.

Steve Thielemann %!s(int64=3) %!d(string=hai) anos
pai
achega
ebade79e60
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      scripts.cpp

+ 2 - 1
scripts.cpp

@@ -1087,10 +1087,11 @@ SL: [ -------  ---------  ---------  ---------  ---------  ---------
     SL: [                   100 units of Organics,]
     SL: [                   150 units of Equipment and]
     SL: [                     2 days to construct.]
+    [Construction of a Combat Control Computer on this type of planet requires]
     */
     if ((line == "Citadel construction on this type of planet requires the "
                  "following:") ||
-        (endswith(line, " construction on this type of planet requires"))) {
+        (endswith(line, " on this type of planet requires"))) {
       state = 7;
     }
   } else if (state == 7) {