feat: fixed spawn particles

This commit is contained in:
Gerard Gascón 2024-04-22 21:59:30 +02:00
parent bab2db51e5
commit f131a4945a
3 changed files with 6 additions and 6 deletions

View file

@ -36,7 +36,7 @@ namespace View.Scene {
return growParticlePositions[^1].position;
for (int i = 0; i < growParticlePositions.Length; i++) {
if (_score.GrowPercentage < (i + 1) * iterationStep)
if (_score.GrowPercentage < (i + 1) * iterationStep - .001f)
return growParticlePositions[i].position;
}