allanburleson/python-adventure-game

'Prev' bug

Closed this issue · 2 comments

The 'prev' command allows one to re-enter a room otherwise not allowed.

To Reproduce:

  • Start game with no save file
  • Exit room (mirror, xyzzy)
  • You should be in home
  • Type 'prev'
  • You'll end up back in the first room.

Maybe another location parameter (like invisible=False)?

I tried that with the last commit, but it still allows it to pass through
+