Cleaning up the cmake

This commit is contained in:
Zoe Roux
2021-06-17 17:32:46 +02:00
parent ac2ade2017
commit dfc42ced60
3 changed files with 10 additions and 4 deletions
@@ -21,9 +21,11 @@ namespace BBM
auto &anim = entity.get<AnimationsComponent>();
static int count = 0;
count++;
if (count % 2)
if (anim.skipNext) {
anim.skipNext = false;
return;
}
anim.skipNext = true;
if (anim.isDisabled())
return;