Page 1 of 1

[2.0.25] Electric network info: Entities counted twice

Posted: Mon Dec 16, 2024 4:15 pm
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 236 times
Blueprint:

Code: Select all

0eNqNkt1ugzAMhd/F16YaP2kLr4JQFZjVWgKDklBWobz7AkzrtKFqd07i8x3rODPU7UiDYXFQzMBNLxaKcgbLV9Htcie6IyjA9q020aCFWvAILO/0AUXscadXW0td3bJco043NxaK0h+ixFcIJI4d0+a2Hh4XGbuaTKDinivC0Nug6WWxCpzofFAIj1DkB+WXSX5xkidnrK3Tq/YvJj5vlNMeI/0XI35ByL4JQz+RiezErrntzfFFUSGqremyGAalMyPtkBW+TPxFYPESWNjCxGZdQZmgwgxVhWW6VscqvLKjLsCfXwThTsauQHVM8izPlXpT+SnOvP8E3US/1w==

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

Posted: Mon Dec 16, 2024 4:21 pm
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.