mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
stop anim if anim mid-save expose data fails
This commit is contained in:
parent
54dcac6d73
commit
c2ef4c6049
3 changed files with 7 additions and 1 deletions
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<Manifest>
|
<Manifest>
|
||||||
<identifier>Rimworld-Animations</identifier>
|
<identifier>Rimworld-Animations</identifier>
|
||||||
<version>1.0.12</version>
|
<version>1.0.13</version>
|
||||||
</Manifest>
|
</Manifest>
|
|
@ -198,7 +198,13 @@ namespace Rimworld_Animations {
|
||||||
|
|
||||||
if (!isAnimating) return;
|
if (!isAnimating) return;
|
||||||
|
|
||||||
|
if (anim == null) {
|
||||||
|
isAnimating = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
animTicks++;
|
animTicks++;
|
||||||
|
|
||||||
if (animTicks < anim.animationTimeTicks) {
|
if (animTicks < anim.animationTimeTicks) {
|
||||||
tickStage();
|
tickStage();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue