* Open the Script settings window to change the Script settings for a Script. * @param slot The CompanyID of the Script to change the settings. */
| 586 | * @param slot The CompanyID of the Script to change the settings. |
| 587 | */ |
| 588 | void ShowScriptSettingsWindow(CompanyID slot) |
| 589 | { |
| 590 | CloseWindowByClass(WC_SCRIPT_LIST); |
| 591 | CloseWindowByClass(WC_SCRIPT_SETTINGS); |
| 592 | new ScriptSettingsWindow(_script_settings_desc, slot); |
| 593 | } |
| 594 | |
| 595 | |
| 596 | /** Window for displaying the textfile of a AI. */ |
no test coverage detected