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

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>Rimworld-Animations</identifier>
<version>1.0.12</version>
<version>1.0.13</version>
</Manifest>

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 {