diff options
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 4d5ae293b..258c1c163 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -52,6 +52,11 @@ CharServerHandler::CharServerHandler() : charServerHandler = this; } +CharServerHandler::~CharServerHandler() +{ + charServerHandler = nullptr; +} + void CharServerHandler::chooseCharacter(Net::Character *const character) const { if (character == nullptr) |