slightly more efficient

This commit is contained in:
c0ffee 2024-04-18 17:43:49 -07:00
parent fbf8b3444d
commit fd77f303c7
2 changed files with 2 additions and 3 deletions

View File

@ -49,7 +49,7 @@ namespace Rimworld_Animations
if (rootAnimWorkerExtended.shouldRecache(animationTick)) if (rootAnimWorkerExtended.shouldRecache(animationTick))
{ {
__instance.rootNode.requestRecache = true; __instance.rootNode.requestRecache = true;
return;
} }
} }
@ -60,9 +60,8 @@ namespace Rimworld_Animations
//recache during facing turn //recache during facing turn
if (animWorkerExtended.shouldRecache(animationTick)) if (animWorkerExtended.shouldRecache(animationTick))
{ {
node.requestRecache = true; node.requestRecache = true;
return;
} }
} }
} }