Multiplayer icon indicating copy to clipboard operation
Multiplayer copied to clipboard

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

Open SokyranTheDragon opened this issue 1 year ago • 0 comments

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 avatar Jun 11 '24 19:06 SokyranTheDragon