AzaezelX 5 år sedan
förälder
incheckning
6fde8dd4c3

+ 0 - 2
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();
 }

+ 0 - 2
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();
 }