Upgrade Builder and Planner deprecated

by Klonan

Automatically upgrade buildings by hand or with construction robots.

Utilities
6 years ago
0.13 - 0.16
242

b Crash when changing dropdown selection in another mod

6 years ago
(updated 6 years ago)

Upgrade Planner's on_event(...on_gui_selection_state_changed) throws an error when another mod's dropdown changes state. It looks like the fix should be a 1-liner, as similar code exists in the following on_event. Adding the line below seems to fix the problem (again, copied from on_event(...on_gui_elem_changed).

  if not string.find(element.name, "upgrade%-planner%-") then return end
6 years ago

Any chance of getting this fixed? It's affecting our ability to have a game with both this and another mod we want to use.

6 years ago

Fix incoming (for anyone who decides to browse this thread).

https://forums.factorio.com/viewtopic.php?f=92&t=14781&start=260#p310653

New response