Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an exception when recipe-hovering with a pathological configurati…
…on. (#150) Specifically, an ArgumentOutOfRangeException happens when hovering over a recipe that is unlocked by a technology that (directly or indirectly) requires a science pack that is both (a) inaccessible and (b) not a milestone. For an example of this in action, load [this vanilla project](https://github.com/user-attachments/files/15782026/exception.zip) and hover over either of the two personal roboport recipe icons. Both will cause an exception, but the steel recipe icon won't. Open the milestones editor and add Chemical science pack to the milestones. Alternatively, open the Dependency explorer for the Chemical science pack item, and click "Clear mark". In both cases, the exceptions will disappear.
- Loading branch information