[1.1.90] selection-tool not highlighting entities marked for deconstruction

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
BrainGamer_
Long Handed Inserter
Long Handed Inserter
Posts: 52
Joined: Sun Nov 14, 2021 9:52 pm
Contact:

[1.1.90] selection-tool not highlighting entities marked for deconstruction

Post by BrainGamer_ »

I made a new selection-tool with deconstruct and cancel-deconstruct as the selection_mode and alt_selection_mode respectively.
Normal selection works as expected. The alt selection mode however will not highlight entities that are marked for deconstruction in the selection area. The triggered event does include the expected entities tho.

My in-dev mod to replicate this is attached (CTRL + X to get the selection tool). It's filtering for rails only.
Attachments
rail-decon-planner_0.0.0.zip
(1.81 KiB) Downloaded 31 times

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2252
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.90] selection-tool not highlighting entities marked for deconstruction

Post by boskid »

Thanks for the report. Issue is now fixed for 1.1.93. There was a missing case for "cancel-deconstruct", "cancel-upgrade" and "downgrade" selection modes causing selection tool to not be considered able of selecting entities and so the selection rendering was not even trying to render entity selections by other rules.

As for a workaround, you may add a "same-force" mode next to the "cancel-deconstruct" but only do that if game version is < 1.1.93. (maybe it will also work in 1.1.93+ but it will cause observable differences in 2.0)

Post Reply

Return to “Resolved Problems and Bugs”