TravelTimN / oregon-trail-python

Oregon Trail, in Python
2 stars 0 forks source link

ERROR: when "continue on trail" has split paths #3

Closed TravelTimN closed 1 year ago

TravelTimN commented 1 year ago

When more than one "next destination" exists...

image

TravelTimN commented 1 year ago

Managed to get appropriate menu displayed if >1 destination available:

image

However, this caused a new bug:

image

TravelTimN commented 1 year ago

Indexing was on wrong value. Moved them from the lower line: next_destination_id = current_location["next_destination_id"] to the line above: GAME.current_location_id = next_destination_id[0]

image