diff options
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 1cd7c3193..35544cd2e 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -526,6 +526,8 @@ public: if (this->viewport != NULL) { NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(TVW_VIEWPORT); nvp->UpdateViewportCoordinates(this); + + ScrollWindowToTile(this->town->xy, this, true); // Re-center viewport. } } |