Bladesodoom1895 / textrpg

My attempt at a text rpg game.
MIT License
2 stars 1 forks source link

Crash when moving zones #23

Open Bladesodoom1895 opened 1 year ago

Bladesodoom1895 commented 1 year ago

Describe the bug Game crashes if you try to move outside of the map, to a non existing zone.

To Reproduce Steps to reproduce the behavior:

  1. Go to the edge of the map
  2. Attempt to move outside the map
  3. Expected behavior Game should tell you there is no zone to move to, and to choose a different direction.

Bladesodoom1895 commented 1 year ago

Crash only occurs when moving from A1-D1 to the west, which would be A0-D0, which don't exist