From 5353b6617dd0d4fee9043bdc7ab5ac2a8bba6be1 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 14 Jun 2016 22:24:04 +0200 Subject: [PATCH] Make tutorial dark cell react to lit splinter also when falling through trap door. Resolves #995. --- evennia/contrib/tutorial_world/rooms.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/evennia/contrib/tutorial_world/rooms.py b/evennia/contrib/tutorial_world/rooms.py index 6a54b832ee..33807afaae 100644 --- a/evennia/contrib/tutorial_world/rooms.py +++ b/evennia/contrib/tutorial_world/rooms.py @@ -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) #------------------------------------------------------------