Removing the resync step for doing a server reset - this should act pretty much like a shutdown.

This commit is contained in:
Griatch 2012-05-01 14:27:59 +02:00
parent 94477b8340
commit e82ccc72ae

View file

@ -233,7 +233,6 @@ class Evennia(object):
if mode == 'reset':
# don't call disconnect hooks on reset
yield [(o.typeclass, o.at_server_shutdown()) for o in ObjectDB.get_all_cached_instances()]
yield self.all_sessions_portal_sync()
else: # shutdown
yield [(o.typeclass, o.at_disconnect(), o.at_server_shutdown()) for o in ObjectDB.get_all_cached_instances()]