AI attacks make the game lag (by using too much CPU in pathfinding)
TehPlayer14 opened this issue · 2 comments
TehPlayer14 commented
The simple solution to this is make attack queue that would dispatch all groups attacking and delay them by few frames like TPR did:
The attack setting was a one attack only
Just don't order every group at once or at one frame
Proof Video https://www.youtube.com/watch?v=sfJrjUM0tU0&feature=youtu.be
Kromster80 commented
Lag is likely caused by too many units building their paths to destination at once.
TehPlayer14 commented
Yep