FactoryPlanner icon indicating copy to clipboard operation
FactoryPlanner copied to clipboard

Crash when entering decimal into # of beacons

Open virginblack opened this issue 1 year ago • 1 comments

Problem Description

Admittedly, I didn't read the instructions about entering integers for beacon amounts. Regardless, the game crashes when you try to enter one.

The mod Factory Planner (2.0.2) caused a non-recoverable error. Please report this error to the mod author.

Error while running event factoryplanner::on_gui_text_changed (ID 2) factoryplanner/backend/data/Beacon.lua:66: attempt to perform arithmetic on local 'profile_mulitplier' (a nil value) stack traceback: factoryplanner/backend/data/Beacon.lua:66: in function 'summarize_effects' factoryplanner/backend/data/ModuleSet.lua:108: in function 'normalize' factoryplanner/ui/dialogs/beacon_dialog.lua:175: in function 'handler' factoryplanner/ui/event_handler.lua:169: in function <factoryplanner/ui/event_handler.lua:121>

Reproduction

Enter any decimal into the Amount on the Edit Beacon screen

virginblack avatar Oct 30 '24 05:10 virginblack