Changed TickerHandler to use the new ExtendedLoopingCall. This means the individual ticker-timers will continue from the last running time after a reload rather than starting over.

This commit is contained in:
Griatch 2014-02-17 17:18:12 +01:00
parent dd150ef3bb
commit 4b1b842bd2
2 changed files with 21 additions and 9 deletions

View file

@ -313,6 +313,8 @@ class Evennia(object):
from src.server.oobhandler import OOB_HANDLER
OOB_HANDLER.save()
from src.scripts.tickerhandler import TICKER_HANDLER
TICKER_HANDLER.save()
if SERVER_STARTSTOP_MODULE:
SERVER_STARTSTOP_MODULE.at_server_reload_stop()