Removed cleanups of on-command properties after command conclusion to allow for post-command referencing (e.g. by the lineeditor contrib). Resolves #562.

This commit is contained in:
Griatch 2014-09-24 15:39:33 +02:00
parent 9d5a0b13ca
commit f2f6c32d3f
2 changed files with 10 additions and 9 deletions

View file

@ -421,12 +421,6 @@ def cmdhandler(called_by, raw_string, _testing=False, callertype="session", sess
else:
caller.ndb.last_cmd = None
# cleanup
del cmd.caller
del cmd.player
del cmd.session
del cmd.cmdset
# Done! This returns a deferred. By default, Evennia does
# not use this at all.
returnValue(ret)