1
0
Fork 0

(svn r26583) -Fix [FS#5974]: Game script could be changed in game by double clicking

release/1.5
rubidium 2014-05-11 18:46:42 +00:00
parent 0ceb05ee9f
commit 6e99a55928
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }