Unregister LoadPrims event on region unload
parent
307191eb40
commit
3dcb5d0b1c
|
@ -194,7 +194,8 @@ namespace Flocking
|
||||||
m_ready = false;
|
m_ready = false;
|
||||||
scene.EventManager.OnFrame -= FlockUpdate;
|
scene.EventManager.OnFrame -= FlockUpdate;
|
||||||
scene.EventManager.OnChatFromClient -= SimChatSent;
|
scene.EventManager.OnChatFromClient -= SimChatSent;
|
||||||
scene.EventManager.OnChatFromWorld -= SimChatSent;
|
scene.EventManager.OnChatFromWorld -= SimChatSent;
|
||||||
|
scene.EventManager.OnPrimsLoaded -= PrimsLoaded;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue