slightly more efficient
This commit is contained in:
parent
fbf8b3444d
commit
fd77f303c7
Binary file not shown.
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue