Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Skip ITemporaryBlocker check entirely if rules contain no temporary blockers #15109
This benefits all mods without temporary blockers like gates or energy walls in their mod rules.
According to the tables towards the end of the #13547 discussion, the TraitOrDefault look-ups for ITemporaryBlocker are cheap individually, but since the game does so many of them, they do have a (low) performance impact.
Avoiding them altogether if the mod rules contain no temporary blocker actors should save that little bit of performance.