feat: End animation working
This commit is contained in:
parent
e74c68082e
commit
be7d37c6d4
70 changed files with 138 additions and 73 deletions
|
@ -29,8 +29,6 @@
|
|||
int value = Value % GrowIterations == 0 ? Value : Value / GrowIterations * GrowIterations;
|
||||
|
||||
float relativeScore = value % (GrowIterations * SpawnRate);
|
||||
if (relativeScore == 0 && value != 0)
|
||||
relativeScore = GrowIterations * SpawnRate;
|
||||
GrowPercentage = relativeScore / (SpawnRate * GrowIterations);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue