raiguard / RecipeBook

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

crash after pushing change search type button #102

Closed kingarthur91 closed 2 years ago

kingarthur91 commented 2 years ago

error: Error while running event RecipeBook::on_gui_click (ID 1) RecipeBook/scripts/gui/search/actions.lua:391: attempt to index field '?' (a nil value) stack traceback: RecipeBook/scripts/gui/search/actions.lua:391: in function '?' RecipeBook/scripts/gui/search/index.lua:41: in function 'dispatch' RecipeBook/scripts/gui/search/index.lua:232: in function 'update_visual_contents' RecipeBook/scripts/gui/search/actions.lua:373: in function '?' RecipeBook/scripts/gui/search/index.lua:41: in function 'dispatch' RecipeBook/control.lua:270: in function 'handle_gui_action' RecipeBook/control.lua:277: in function 'read_gui_action' RecipeBook/control.lua:287: in function <RecipeBook/control.lua:285>

to reproduce load mods ctrl+b to open recipe book and then just click on the change search type button. happens both with an empty search and text already in the box and with something having been searched.

mods involved. recipe book and nullius+dependacies factorio-current.log _autosave2.zip

kingarthur91 commented 2 years ago

btw i tested it with a new start without doing anything other actions ingame and i get the same result with nullius active