on_player_selected_area not called w deconstruction planner

Bugs that are actually features.
Post Reply

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5152
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: on_player_selected_area not called w deconstruction planner

Post by Klonan »

mophydeen wrote:The event, on_player_selected_area, is not called when using the deconstruction planner.
Thanks for the report,

I am pretty sure that is on purpose, it is only called for custom selection tools
Rseding91 might have some clearer insight as to the why,
But for now this is working as intended

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: on_player_selected_area not called w deconstruction planner

Post by Choumiko »

Rseding91 wrote:Deconstruction planners and blueprints don't fire that event. The event specifically says it only fires with the selection-tool item type.

I'll look into the reason why I made it work that way and see about changing it.
From: viewtopic.php?f=28&t=48731

So maybe move it to minor/known issues? (Unless Rseding already decided it's not a bug)

mophydeen
Filter Inserter
Filter Inserter
Posts: 529
Joined: Sun Nov 22, 2015 5:02 pm
Contact:

Re: on_player_selected_area not called w deconstruction planner

Post by mophydeen »

I know a deconstruction planner is not a selection tool (type).

I don't care if it's that type.
I would just like it to trigger the event :D

Post Reply

Return to “Not a bug”