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