mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
reverted to original method of finding animation
This commit is contained in:
parent
4adc4a6906
commit
81fd210b9a
4 changed files with 4 additions and 147 deletions
|
@ -104,6 +104,8 @@ namespace Rimworld_Animations {
|
|||
}
|
||||
public void StartAnimation(AnimationDef anim, int actor, bool mirror = false, bool shiver = false, bool fastAnimForQuickie = false) {
|
||||
|
||||
isAnimating = true;
|
||||
|
||||
AlienRaceOffset raceOffset = anim?.actors[actor]?.raceOffsets?.Find(x => x.defName == pawn.def.defName);
|
||||
|
||||
if (raceOffset != null) {
|
||||
|
@ -154,8 +156,6 @@ namespace Rimworld_Animations {
|
|||
//tick once for initialization
|
||||
tickAnim();
|
||||
|
||||
isAnimating = true;
|
||||
|
||||
}
|
||||
public override void CompTick() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue