summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2e6e9ddd3..6d82f7138 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -674,7 +674,7 @@ void Game::slowLogic()
{
// TRANSLATORS: error message text
errorMessage = _("The connection to the server was lost.");
- disconnectedDialog = client->openErrorDialog(
+ disconnectedDialog = DialogsManager::openErrorDialog(
// TRANSLATORS: error message header
_("Network Error"), errorMessage, false);
disconnectedDialog->addActionListener(&errorListener);