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

Towers don't target minions from the last wave when a new wave has started #25

Closed
JasperRh opened this issue Oct 31, 2015 · 2 comments
Closed
Labels
Milestone

Comments

@JasperRh
Copy link
Collaborator

When a new wave is starting while the last hasn't end, the modules wont attack the minions from the last wave.

This is because in the Defense.findTarget() the module is iterating trough the minionlist of the current wave

@JasperRh JasperRh added the bug label Oct 31, 2015
@JasperRh JasperRh added this to the Iteration 1 milestone Oct 31, 2015
@martiener1
Copy link
Contributor

Fixed on branch "martijnBranch" with commit: 4953138.

@martiener1
Copy link
Contributor

Maybe it's more performance efficient to make another field in gameEngine that only contains the active waves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants