Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement.
This commit is contained in:
parent
6ad30a8ba5
commit
07af616b67
6 changed files with 145 additions and 150 deletions
|
|
@ -421,6 +421,7 @@ class CmdCreate(ObjManipCommand):
|
|||
if 'drop' in self.switches:
|
||||
if caller.location:
|
||||
obj.home = caller.location
|
||||
print "Doing the drop"
|
||||
obj.move_to(caller.location, quiet=True)
|
||||
if string:
|
||||
caller.msg(string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue