Made the contents cache mechanism use the idmapper cache directly. This should hopefully avoid isses like #745 in the future.

This commit is contained in:
Griatch 2015-05-14 17:57:49 +02:00
parent 30e9bfddf9
commit 3410499313
6 changed files with 51 additions and 35 deletions

View file

@ -1136,7 +1136,7 @@ class CmdName(ObjManipCommand):
astring = " (%s)" % (", ".join(aliases))
# fix for exits - we need their exit-command to change name too
if obj.destination:
obj.flush_from_cache()
obj.flush_from_cache(force=True)
caller.msg("Object's name changed to '%s'%s." % (newname, astring))