stop anim if anim mid-save expose data fails

This commit is contained in:
c0ffeeeeeeee 2021-03-06 17:10:35 -08:00
parent 54dcac6d73
commit c2ef4c6049
3 changed files with 7 additions and 1 deletions

View file

@ -198,7 +198,13 @@ namespace Rimworld_Animations {
if (!isAnimating) return;
if (anim == null) {
isAnimating = false;
return;
}
animTicks++;
if (animTicks < anim.animationTimeTicks) {
tickStage();
} else {