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

[changed] Allow 1 seed to grow when 2 or more are overlapping #2284

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mugg91
Copy link
Contributor

@mugg91 mugg91 commented Jan 2, 2025

Status

  • IN DEVELOPMENT
  • Still issues with several seeds growing on the same tile.

Description

Fixes Issue #2283

When two or more seeds are on the ground at the same tile position, no seeds would grow.
This PR changes that so the seed with the lowest net id can grow.

this.getOverlapping(@overlapping) was replaced by map.getBlobsInRadius() due to the previous logic sometimes failing, see PR #2238 .

Tested in offline, works as intended.
After further testing, I found that several seeds could grow on the same tile. Will fix soon.

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.

Two seeds overlapping is not obvious
1 participant