| 72 | } |
| 73 | |
| 74 | void ScriptConfig::AnchorUnchangeableSettings() |
| 75 | { |
| 76 | for (const auto &item : *this->GetConfigList()) { |
| 77 | if (!item.flags.Test(ScriptConfigFlag::InGame)) { |
| 78 | this->SetSetting(item.name, this->GetSetting(item.name)); |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | int ScriptConfig::GetSetting(const std::string &name) const |
| 84 | { |
no test coverage detected