[2.0.25] Electric network info: Entities counted twice

Bugs that are actually features.
fakusb
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Jul 05, 2017 4:40 pm
Contact:

[2.0.25] Electric network info: Entities counted twice

Post by fakusb »

Entities which are part of multiple Electrical networks get counted multiple times in electric network infos entety count (while those networks are connected via a switch).

I would have expected them to be counted only once.

(This causes me to search several minutes for an (non-existing) extra fusion turbine in my fusion reactor layout)

Interestingly, all the other statistics are still correct. Nice job.

Here is a minimal example:
12-16-2024, 17-13-09.png
12-16-2024, 17-13-09.png (4.13 MiB) Viewed 226 times
Blueprint:

Code: Select all

0eNqNkt1ugzAMhd/F16YaP2kLr4JQFZjVWgKDklBWobz7AkzrtKFqd07i8x3rODPU7UiDYXFQzMBNLxaKcgbLV9Htcie6IyjA9q020aCFWvAILO/0AUXscadXW0td3bJco043NxaK0h+ixFcIJI4d0+a2Hh4XGbuaTKDinivC0Nug6WWxCpzofFAIj1DkB+WXSX5xkidnrK3Tq/YvJj5vlNMeI/0XI35ByL4JQz+RiezErrntzfFFUSGqremyGAalMyPtkBW+TPxFYPESWNjCxGZdQZmgwgxVhWW6VscqvLKjLsCfXwThTsauQHVM8izPlXpT+SnOvP8E3US/1w==
Rseding91
Factorio Staff
Factorio Staff
Posts: 15871
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.25] Electric network info: Entities counted twice

Post by Rseding91 »

Thanks for the report. This is working correctly because you have 2 distinct networks both with the same entity in them connected by a power switch.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”