mirror of https://github.com/OpenTTD/OpenTTD
(svn r26583) -Fix [FS#5974]: Game script could be changed in game by double clicking
parent
0ceb05ee9f
commit
6e99a55928
|
@ -854,7 +854,7 @@ struct AIConfigWindow : public Window {
|
||||||
case WID_AIC_GAMELIST: {
|
case WID_AIC_GAMELIST: {
|
||||||
this->selected_slot = OWNER_DEITY;
|
this->selected_slot = OWNER_DEITY;
|
||||||
this->InvalidateData();
|
this->InvalidateData();
|
||||||
if (click_count > 1 && this->selected_slot != INVALID_COMPANY) ShowAIListWindow((CompanyID)this->selected_slot);
|
if (click_count > 1 && this->selected_slot != INVALID_COMPANY && _game_mode != GM_NORMAL) ShowAIListWindow((CompanyID)this->selected_slot);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue