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