summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index b57b02f2c..44bb258bb 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -289,7 +289,7 @@ static void createGuiWindows()
if (localPlayer)
localPlayer->updateStatus();
- Net::getGeneralHandler()->gameStarted();
+ generalHandler->gameStarted();
}
/**
@@ -297,7 +297,7 @@ static void createGuiWindows()
*/
static void destroyGuiWindows()
{
- Net::getGeneralHandler()->gameEnded();
+ generalHandler->gameEnded();
if (whoIsOnline)
whoIsOnline->setAllowUpdate(false);