X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b76badb6c7cb454c3ee849b40dc0ac5bc66b632c..37925a173b073b547ffc7dd7412de658accf694c:/projects/stargazer/settings_impl.cpp?ds=inline diff --git a/projects/stargazer/settings_impl.cpp b/projects/stargazer/settings_impl.cpp index 16a2ac47..8e4accee 100644 --- a/projects/stargazer/settings_impl.cpp +++ b/projects/stargazer/settings_impl.cpp @@ -243,7 +243,7 @@ while (node) { rules = node->getValue(0); } - + if (strcasecmp(node->getName(), "DetailStatWritePeriod") == 0) { if (ParseDetailStatWritePeriod(node->getValue(0)) != 0) @@ -457,6 +457,16 @@ while (node) } } + if (strcasecmp(node->getName(), "ScriptParams") == 0) + { + int i; + i=0; + while (node->getValue(i)!=NULL) + { + scriptParams.push_back(node->getValue(i)); + i++; + } + } node = node->getNextNode(); } @@ -488,4 +498,4 @@ else if (detailStatPeriodStr == "1/6") return -1; } -//----------------------------------------------------------------------------- +//----------------------------------------------------------------------------- \ No newline at end of file