[1.1.94] surface.upgrade_area missing event?

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
mig5323
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun Dec 01, 2019 4:02 am
Contact:

[1.1.94] surface.upgrade_area missing event?

Post by mig5323 »

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?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.94] surface.upgrade_area missing event?

Post by Rseding91 »

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?
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Pending”