Skip to content

[Adventure][Shandalar] Having non legal cards disabled causes a crash when entering a town with a contraption or attraction shop #11069

Description

@monkyman64

A discord member opened a post about this issue here: https://discord.com/channels/267367946135928833/1519103117218680864

Describe the bug
Entering some waste towns in Shandalar caused the game to crash. A log (attached below) showed there was an issue loading UnSet cards from decks/shop/funny/funny_cards.dck. After some testing we determined the likely cause of the issue was the "enable nonlegal cards" setting being disabled. After this was changed they attempted to provoke a crash again by entering many towns but were unable to. As this is shop related, it should be confined to Shandalar only, not any other worlds.

forge1.log

To Reproduce
Steps to reproduce the behavior:

  1. Find a wastes town with a contraption or attraction shop and save outside of it
  2. Disable the setting in classic mode.
  3. Load the save and enter the town, causing a crash.

This was on a windows PC

Metadata

Metadata

Assignees

No one assigned

    Labels

    AdventureFor the Adventure Module

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions