From 6fde8dd4c37d9b6461385d351dea06ef25c6d602 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 23 Jun 2020 13:43:04 -0500 Subject: [PATCH] adress #225 --- Engine/source/util/messaging/message.cpp | 2 -- Engine/source/util/messaging/scriptMsgListener.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/Engine/source/util/messaging/message.cpp b/Engine/source/util/messaging/message.cpp index 137242c56..b9895e9ab 100644 --- a/Engine/source/util/messaging/message.cpp +++ b/Engine/source/util/messaging/message.cpp @@ -100,7 +100,6 @@ bool Message::onAdd() if(! Parent::onAdd()) return false; - linkNamespaces(); onAdd_callback(); //Con::executef(this, "onAdd"); return true; @@ -120,7 +119,6 @@ void Message::onRemove() { onRemove_callback(); //Con::executef(this, "onRemove"); - unlinkNamespaces(); Parent::onRemove(); } diff --git a/Engine/source/util/messaging/scriptMsgListener.cpp b/Engine/source/util/messaging/scriptMsgListener.cpp index 0bfa04bf3..fa47b7e7c 100644 --- a/Engine/source/util/messaging/scriptMsgListener.cpp +++ b/Engine/source/util/messaging/scriptMsgListener.cpp @@ -85,7 +85,6 @@ bool ScriptMsgListener::onAdd() if(! Parent::onAdd()) return false; - linkNamespaces(); onAdd_callback(); //Con::executef(this, "onAdd"); return true; @@ -105,7 +104,6 @@ void ScriptMsgListener::onRemove() { onRemove_callback(); //Con::executef(this, "onRemove"); - unlinkNamespaces(); Parent::onRemove(); }