feat: End animation working

This commit is contained in:
Gerard Gascón 2024-04-17 11:30:35 +02:00
parent e74c68082e
commit be7d37c6d4
70 changed files with 138 additions and 73 deletions

View file

@ -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);
}
}