ClaudeMetz / FactoryPlanner

A mod for Factorio. Allows you to plan out your production in detail.
https://mods.factorio.com/mod/factoryplanner
MIT License
81 stars 40 forks source link

[K2+SE] Crash while attempting to edit beacon module #261

Open the-daveman opened 4 months ago

the-daveman commented 4 months ago

Problem Description

I simply attempted to switch the beacon module between different levels of speed modules to see the difference in machine count I would need for my blueprint. I changed it from Speed6 to Speed5. Then when attempting to change it back to Speed6, the game instantly crashes when I attempt to edit it. Screenshots attached. Modlist attached.

Reproduction

I simply load the game, open factory planner. Select the beacon module for the Refinery, right click, and the game instantly crashes with the error message.

Error while running event factoryplanner::on_gui_click (ID 1)
__factoryplanner__/ui/main/production_handler.lua:168: attempt to index local 'module' (a nil value)

427520_20240213211719_1 427520_20240213211726_1

I can upload and link to the savegame zip if requested.

the-daveman commented 4 months ago

Seems like the same issue with similar reproduction steps to this bug:

https://github.com/ClaudeMetz/FactoryPlanner/issues/263