So I have been using this mod for a bit and the latest update broke it because I'm pretty sure they changed the way to create the options button in the upper left of the screen. I suspect it's an easy change, but I don't know a lot of Lua. I am comfortable editing my own copy of the mod, I just don't know what to change each line to. If somebody would help me out I would be very appreciative.
Error log when trying to open a map.
Code: Select all
Error while running event upgrade-planner-next::on_configuration_changed
Unknown style green_slot_button
stack traceback:
upgrade-planner-next/upgrade-planner/gui.lua:156: in function 'open_frame'
upgrade-planner-next/control.lua:58: in function 'verify_all_configs'
upgrade-planner-next/control.lua:78: in function 'handler'
stdlib/stdlib/event/event.lua:335: in function 'pcall'
stdlib/stdlib/event/event.lua:355: in function 'dispatch_event'
stdlib/stdlib/event/event.lua:438: in function 'dispatch'
stdlib/stdlib/event/event.lua:88: in function <stdlib/stdlib/event/event.lua:86>
stack traceback:
[C]: in function 'newindex'
__upgrade-planner-next/upgrade-planner/gui.lua:156: in function 'open_frame'
upgrade-planner-next/control.lua:58: in function 'verify_all_configs'
upgrade-planner-next/control.lua:78: in function 'handler'
stdlib/stdlib/event/event.lua:335: in function 'pcall'
stdlib/stdlib/event/event.lua:355: in function 'dispatch_event'
stdlib/stdlib/event/event.lua:438: in function 'dispatch'
stdlib/stdlib/event/event.lua:88: in function <stdlib/stdlib/event/event.lua:86>