Command revamp broke the create command in a funky way. Fixed.

This commit is contained in:
Greg Taylor 2009-02-04 18:14:25 +00:00
parent ef371aaee2
commit 51edc17d59
2 changed files with 10 additions and 11 deletions

View file

@ -861,8 +861,9 @@ class Object(models.Model):
self.get_location().emit_to_contents(arrival_message, exclude=self)
if self.location.is_player():
self.location.emit_to("%s is now in your inventory." % (self.get_name()))
self.execute_cmd('look')
if force_look:
self.execute_cmd('look')
def dbref_match(self, oname):
"""