raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
20 stars 9 forks source link

Crash in RecipeBook::on_gui_checked_state_changed #136

Closed moxian closed 10 months ago

moxian commented 1 year ago

Description

Was playing a game with Space Exploration + Krastorio + Recipe Book (and no other mods). Multiplayer with just me being online on the server at the time.

Browsing the recipes for wood (well, Mineral water > Nitric Acid > Fertilizer > Wood). Noticed that there is a lot of "mined from " entries that i didn't care about, and decided to collapse. Went to Settings > Categories > Entity type > unchecked the Tree > immediately got a crash.

image

I thought this is due to a bunch of tree and tree-related recipe windows being open at the time, and unticking the checkbox failing to update them properly. However I tried to reproduce it locally, following (roungly) the same steps, and didn't get it to crash, so I'm not sure now...

Savefile: dex2.zip

Reproduction

Unknown. Feel free to close the bugreport as invalid.

raiguard commented 10 months ago

I couldn't reproduce it, but I have theoretically fixed the cause of the crash. Thanks for the report!