]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.cpp
Added special function to read/write all data (for TCP).
[stg.git] / projects / stargazer / settings_impl.cpp
index 16a2ac47130f1497fdb47ec1ee33e923989c5e42..92670cb5082a345768582a2173ce06803fa0d43f 100644 (file)
@@ -457,6 +457,13 @@ while (node)
             }
         }
 
+    if (strcasecmp(node->getName(), "ScriptParams") == 0)
+        {
+        for (int i = 0; node->getValue(i) != NULL; ++i)
+            {
+            scriptParams.push_back(node->getValue(i));
+            }
+        }
     node = node->getNextNode();
     }
 
@@ -488,4 +495,4 @@ else if (detailStatPeriodStr == "1/6")
 
 return -1;
 }
-//-----------------------------------------------------------------------------
+//-----------------------------------------------------------------------------
\ No newline at end of file