Fixed a traceback when lighting the torch in the tutorial world.
This commit is contained in:
parent
91281e6bb8
commit
7b17c9ad5a
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue