Fixed errors due to the removal of execute_cmd("look") calls in the

latest revisions - this turns out to bypass the normal use of cmdsets
to control things like the dark room in the tutorial. Resolves the
second mentioned error in #889.
This commit is contained in:
Griatch 2015-12-15 19:26:11 +01:00
parent 97f2cf1757
commit 03d415beb1
3 changed files with 27 additions and 12 deletions

View file

@ -1418,7 +1418,8 @@ class DefaultCharacter(DefaultObject):
We make sure to look around after a move.
"""
self.msg(self.at_look(self.location))
if self.location.access(self, "view"):
self.msg(self.at_look(self.location))
def at_pre_puppet(self, player, session=None):
"""