Added non-persistent functinality to the TickerHandler, for specific use with OOB.

This commit is contained in:
Griatch 2016-03-24 19:44:18 +01:00
parent e09a172854
commit bece57f067
4 changed files with 36 additions and 20 deletions

View file

@ -549,9 +549,6 @@ class TypedObject(SharedMemoryModel):
"""
global TICKER_HANDLER
if not TICKER_HANDLER:
from evennia.scripts.tickerhandler import TICKER_HANDLER
TICKER_HANDLER.remove(self) # removes objects' all ticker subscriptions
self.permissions.clear()
self.attributes.clear()
self.aliases.clear()