summaryrefslogtreecommitdiff
path: root/src/net/tmwa/familyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/familyhandler.cpp')
-rw-r--r--src/net/tmwa/familyhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/familyhandler.cpp b/src/net/tmwa/familyhandler.cpp
index b347e9880..9f5bb7fe9 100644
--- a/src/net/tmwa/familyhandler.cpp
+++ b/src/net/tmwa/familyhandler.cpp
@@ -31,6 +31,11 @@ FamilyHandler::FamilyHandler() :
familyHandler = this;
}
+FamilyHandler::~FamilyHandler()
+{
+ familyHandler = nullptr;
+}
+
void FamilyHandler::askForChild(const Being *const being A_UNUSED) const
{
}