diff options
Diffstat (limited to 'src/net/tmwa/gamehandler.cpp')
-rw-r--r-- | src/net/tmwa/gamehandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/gamehandler.cpp b/src/net/tmwa/gamehandler.cpp index 2fec57df3..d13c46919 100644 --- a/src/net/tmwa/gamehandler.cpp +++ b/src/net/tmwa/gamehandler.cpp @@ -48,6 +48,11 @@ GameHandler::GameHandler() : gameHandler = this; } +GameHandler::~GameHandler() +{ + gameHandler = nullptr; +} + void GameHandler::mapLoadedEvent() const { createOutPacket(CMSG_MAP_LOADED); |