[feat] Script refactor; decouple timer component from script lifetime. Resolve #1715

This commit is contained in:
Griatch 2021-03-07 10:34:01 +01:00
parent cd579fb649
commit b5195a6e96
29 changed files with 1136 additions and 1266 deletions

View file

@ -1117,7 +1117,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
self.account = None
for script in _ScriptDB.objects.get_all_scripts_on_obj(self):
script.stop()
script.delete()
# Destroy any exits to and from this room, if any
self.clear_exits()