diff --git a/contrib/tutorial_world/rooms.py b/contrib/tutorial_world/rooms.py index 4e23c4864..841996f7d 100644 --- a/contrib/tutorial_world/rooms.py +++ b/contrib/tutorial_world/rooms.py @@ -286,7 +286,7 @@ class DarkRoom(TutorialRoom): type LightSource. """ return any([any([True for obj in char.contents - if utils.inherits_from(obj, LightSource) and obj.is_active]) + if utils.inherits_from(obj, LightSource) and obj.db.is_active]) for char in self.contents if char.has_player]) def at_object_creation(self):