summaryrefslogtreecommitdiff
path: root/src/net/eathena/maphandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r--src/net/eathena/maphandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp
index 042f87778..b16fc664f 100644
--- a/src/net/eathena/maphandler.cpp
+++ b/src/net/eathena/maphandler.cpp
@@ -31,4 +31,9 @@ MapHandler::MapHandler() :
mapHandler = this;
}
+MapHandler::~MapHandler()
+{
+ mapHandler = nullptr;
+}
+
} // namespace EAthena