mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
slightly more efficient
This commit is contained in:
parent
fbf8b3444d
commit
fd77f303c7
2 changed files with 2 additions and 3 deletions
Binary file not shown.
|
@ -49,7 +49,7 @@ namespace Rimworld_Animations
|
|||
if (rootAnimWorkerExtended.shouldRecache(animationTick))
|
||||
{
|
||||
__instance.rootNode.requestRecache = true;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,9 +60,8 @@ namespace Rimworld_Animations
|
|||
//recache during facing turn
|
||||
if (animWorkerExtended.shouldRecache(animationTick))
|
||||
{
|
||||
|
||||
node.requestRecache = true;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue