New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HarvesterBotModule should not command harvesters that cannot be ordered #20465
Conversation
Does |
The whole module feels extremely sketchy. The resource search activity it tries to control is also probably the most performance intensive in the engine |
I find this in my sync-report
The harvester is not in world but it is in carryall |
Extractly. I also link an old issue from CA here: This module used to cause huge perf loss when minefield was near confliction point |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't hurt.
This probably effects Dune 2000 as well. |
related #18198 |
When removing units "that cannot be ordered", we remove units that are dead/in world (see line 97), but later when we search new units, we add them back (see line 105). We should avoid add them back.