Optimized animation frame timing a bit

This commit is contained in:
Toasterbirb 2022-01-24 21:42:34 +02:00
parent afd4bdd09e
commit 092311a2e5
1 changed files with 0 additions and 1 deletions

View File

@ -274,7 +274,6 @@ namespace Birb
if (entity.animationComponent.frameIndex < entity.animationComponent.lastFrame)
{
entity.animationComponent.frameIndex++;
entity.animationComponent.frameTimer.Stop();
entity.animationComponent.frameTimer.Start();
}
}