| 413 | } |
| 414 | |
| 415 | void SetValue(int value) |
| 416 | { |
| 417 | const ScriptConfigItem &config_item = *this->visible_settings[this->clicked_row]; |
| 418 | if (_game_mode == GM_NORMAL && !config_item.flags.Test(ScriptConfigFlag::InGame)) return; |
| 419 | this->gs_config->SetSetting(config_item.name, value); |
| 420 | this->SetDirty(); |
| 421 | } |
| 422 | }; |
| 423 | |
| 424 | /** Open the GS config window. */ |
no test coverage detected