loathers / TourGuide

Relay script for KoLmafia, for the web game Kingdom of Loathing. Gives advice on how to play.
The Unlicense
14 stars 17 forks source link

Add early return when we can't detect train configuration #126

Closed ajcoppa closed 1 year ago

ajcoppa commented 1 year ago

Oops, I forgot to do this with the previous change.

I have confirmed that this works. Here's how it shows up when trainsetConfiguration is empty string:

Screenshot 2023-02-16 at 2 00 33 PM

Once clicking the tile to visit the workshed, it works again as normal:

Screenshot 2023-02-16 at 2 01 49 PM

Note: an explicit TourGuide refresh is needed to make it recalc the tile – at some point I'd like to pick some people's brains about what is needed for it to refresh automatically here since much of TourGuide works that way. But that's not critical for getting this fix in.