Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Creep.prototype.attackController wastes CPU using _getActiveBodyparts #128

Open
iamgqr opened this issue Feb 8, 2020 · 0 comments
Open

Comments

@iamgqr
Copy link

iamgqr commented Feb 8, 2020

if(!_getActiveBodyparts(this.body, C.CLAIM)) {

And it should be _hasActiveBodypart, I think
Sorry for no PR

@iamgqr iamgqr changed the title This line is wasting CPU Creep.prototype.attackController wastes CPU using _getActiveBodyparts Feb 8, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant