Ugh ... test first?

This commit is contained in:
Howard Abrams 2025-06-17 20:08:28 -07:00
parent cd51424f7c
commit bae082b249

View file

@ -480,7 +480,7 @@ class BHB(Friendly):
meadow = self.global_search("mp05")
cave = self.global_search("mp07")
if 'portal_open' in self.location:
if 'portal_open' in self.location.room_states:
msg = f"The {noun} becomes frightened of the flying lights."
self.location.msg_contents(msg)
self.move_to(cave, move_type="traverse")