feat: fixed spawn particles
This commit is contained in:
parent
bab2db51e5
commit
f131a4945a
3 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue