diff options
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index bf246b39e..70139cd4a 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -53,6 +53,11 @@ PlayerHandler::PlayerHandler() : playerHandler = this; } +PlayerHandler::~PlayerHandler() +{ + playerHandler = nullptr; +} + void PlayerHandler::attack(const BeingId id, const Keep keep) const { |