Make tutorial dark cell react to lit splinter also when falling through trap door. Resolves #995.

This commit is contained in:
Griatch 2016-06-14 22:24:04 +02:00
parent bdcc093c23
commit 5353b6617d

View file

@ -968,6 +968,10 @@ class TeleportRoom(TutorialRoom):
character.msg(self.db.failure_teleport_msg)
# teleport quietly to the new place
character.move_to(results[0], quiet=True, move_hooks=False)
# we have to call this manually since we turn off move_hooks
# - this is necessary to make the target dark room aware of an
# already carried light.
results[0].at_object_receive(character, self)
#------------------------------------------------------------