Skip to content
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

Fix recommendationList when a building max is reached #47

Merged
merged 2 commits into from
Oct 26, 2020

Conversation

adavidw
Copy link
Collaborator

@adavidw adavidw commented Oct 26, 2020

Fixes #13

Changed so that instead of building the recommendation list, and then pulling the buildings out that have already hit their max, it excludes those buildings before calculating relative efficiency and building the list.

(Couple of little performance fixes as well)

Aaron Wright added 2 commits October 25, 2020 20:21
to happen before building the array
@Mtarnuhal Mtarnuhal merged commit 32477b4 into Mtarnuhal:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Efficiency Table out of sync when having a limit on Farms, Towers and Cursors
2 participants