1
0
Fork 0

(svn r23930) -Fix [FS#4944]: [Script] Do not close the parameter window when a script starts

release/1.2
rubidium 2012-02-11 22:25:20 +00:00
parent 27e54a4e36
commit 1cf2f521ab
1 changed files with 1 additions and 5 deletions

View File

@ -517,11 +517,7 @@ struct AISettingsWindow : public Window {
*/
virtual void OnInvalidateData(int data = 0, bool gui_scope = true)
{
if (_game_mode == GM_NORMAL && Company::IsValidID(this->slot)) {
delete this;
} else {
this->RebuildVisibleSettings();
}
this->RebuildVisibleSettings();
}
};