summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/town_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index bf4e63000..4e5e0cf8e 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -618,6 +618,7 @@ static const WindowDesc _town_directory_desc = {
void ShowTownDirectory()
{
+ if (BringWindowToFrontById(WC_TOWN_DIRECTORY, 0)) return;
new TownDirectoryWindow(&_town_directory_desc);
}