Procházet zdrojové kódy

Trying to better detect next planet upgrade.

Steve Thielemann před 3 roky
rodič
revize
ebade79e60
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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) {