Skip to content

Create OnlyIfToleranceBelow.cs - #603

Open
still222 wants to merge 1 commit into
rwmt:masterfrom
still222:OnlyIfToleranceBelow
Open

Create OnlyIfToleranceBelow.cs#603
still222 wants to merge 1 commit into
rwmt:masterfrom
still222:OnlyIfToleranceBelow

Conversation

@still222

Copy link
Copy Markdown

Syncing policy changing

Syncing policy changing
@notfood

notfood commented Jul 27, 2026

Copy link
Copy Markdown
Member

Does this not work? Why are you bypassing the API?

toleranceSyncField = MP.RegisterSyncField(AccessTools.Field("RimWorld.DrugPolicyEntry:DrugPolicyEntry")).SetBufferChanges();

@still222

Copy link
Copy Markdown
Author

Does this not work? Why are you bypassing the API?

toleranceSyncField = MP.RegisterSyncField(AccessTools.Field("RimWorld.DrugPolicyEntry:DrugPolicyEntry")).SetBufferChanges();

No, it doesn't. API is not enough to reg that field.

MPCompat :: Exception loading seohyeon.onlyiftolerancebelow: System.NullReferenceException: Object reference not set to an instance of an object```

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.

2 participants