[1.1.94] surface.upgrade_area missing event?
[1.1.94] surface.upgrade_area missing event?
I'm using Module Inserter Extended along with Constructron Continued, and I'm seeing weird behavior. Module inserter is building an upgrade planner, then using surface.upgrade_area to add the new module requests. I expect this to fire off an on_marked_for_upgrade event, but the event doesn't appear to be generated, so CC doesn't get the notice that it needs to replace the modules. MI has an alternate path not using the upgrade planner where it removes the old modules and adds the new, and that is handled correctly by CC. Is this perhaps missing behavior in the upgrade_area?
Re: [1.1.94] surface.upgrade_area missing event?
Looking at the logic; entity marked for upgrade only fires if the entity itself is marked for upgrade. If just modules are marked for upgrade there is no event.
Could that be what you're seeing?
Could that be what you're seeing?
If you want to get ahold of me I'm almost always on Discord.