forked from mirror/OpenTTD
(svn r13244) -Fix: allow only one town directory window to be opened
This commit is contained in:
@@ -618,6 +618,7 @@ static const WindowDesc _town_directory_desc = {
|
||||
|
||||
void ShowTownDirectory()
|
||||
{
|
||||
if (BringWindowToFrontById(WC_TOWN_DIRECTORY, 0)) return;
|
||||
new TownDirectoryWindow(&_town_directory_desc);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user