Unnecessary message when turning off the broken lantern in the dark
Opened this issue · 0 comments
eriktorbjorn commented
>LOOK
It's too dark to see.
>TURN ON LANTERN
Click. The lantern doesn't respond.
>TURN OFF LANTERN
You turn off the lantern's switch.
It's completely dark.
That's because TURN-OFF-LAMP
calls KILL-LAMP
, which calls SAY-IF-HERE-LIT
even if the room was already dark. I could be wrong, but I think TURN-OFF-LAMP
doesn't even need to call KILL-LAMP
when the lamp is broken? (The simplest way to break the lamp is to kick it.)