Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude Antimatter Annihilation machines from GetComp<> caching. #1

Closed
wants to merge 2 commits into from

Conversation

Epicguru
Copy link
Owner

Hi,
Antimatter Annihilation has a system that allows refueling with multiple different fuel types. This system relies on multiple CompRefuelable components being on the same building, and changes the order of them to trick Rimworld into using a different component when needed. Although it isn't the best solution, it works...

However GetComp caching breaks that system because re-ordering the component does not have the intended effect. This pull request should solve that by excluding the antimatter annihilation machines from the caching system. Let me know if there is a better way to do this.

Thanks.

@Epicguru Epicguru closed this Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant