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

Fix issues due to _NewTemp methods, fixes heater/cooler temperature changes #472

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

SokyranTheDragon
Copy link
Member

@SokyranTheDragon SokyranTheDragon commented Jun 11, 2024

RW update add _NewTemp methods instead of replacing existing ones to keep backwards compatibility with mods. This allows mods calling those methods to work as they used to, but it causes issues with Harmony patches since those are no longer called by vanilla code. The change here is to target the _NewTemp methods Harmony patches (sync methods) rather than the original ones.

This should fix changing heater/cooler temperature settings as well as giving the players time to rename stillborn pawns (normally would be 1 tick in this situation).

…hanges

RW update add `_NewTemp` methods instead of replacing existing ones to keep backwards compatibility with mods. This allows mods calling those methods to work as they used to, but it causes issues with Harmony patches since those are no longer called by vanilla code. The change here is to target the `_NewTemp` methods Harmony patches (sync methods) rather than the original ones.

This should fix changing heater/cooler temperature settings as well as giving the players time to rename stillborn pawns (normally would be 1 tick in this situation).
@SokyranTheDragon SokyranTheDragon added fix Fixes for a bug or desync. 1.5 Fixes or bugs relating to 1.5 (Not Anomaly). labels Jun 11, 2024
@SokyranTheDragon SokyranTheDragon changed the title Fix issues due to _NewTemp methods, fixes heater/cooler temperature c… Fix issues due to _NewTemp methods, fixes heater/cooler temperature changes Jun 11, 2024
@Zetrith Zetrith merged commit c0a7ef8 into rwmt:master Jul 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.5 Fixes or bugs relating to 1.5 (Not Anomaly). fix Fixes for a bug or desync.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants