fix: Adjust Found Town gui

fix: Found town in toolbar opened subsidies
This commit is contained in:
2024-04-10 23:23:10 +01:00
parent 8265fd8dd0
commit 371a7f342d
2 changed files with 37 additions and 38 deletions

View File

@@ -482,11 +482,7 @@ static CallBackFunction MenuClickTown(int index)
{
switch (index) {
case 0: ShowTownDirectory(); break;
case 1: ShowSubsidiesList(); break;
case 2: ShowIndustryDirectory(); break;
case 3: ShowIndustryCargoesWindow(); break;
case 4: if (_local_company != COMPANY_SPECTATOR) ShowBuildIndustryWindow(); break;
case 5: // setting could be changed when the dropdown was open
case 1: // setting could be changed when the dropdown was open
if (_settings_game.economy.found_town != TF_FORBIDDEN) ShowFoundTownWindow();
break;
}