Klonan/upgrade-planner

on_built_entity events contain incorrect arguments

Closed this issue · 0 comments

The event raised at control.lua:789 does not include a stack argument.

The event raised at control.lua:809 includes a stack argument, but it is player.cursor_stack, which is always an upgrade-builder item, where it should be upgrade.item_to.