Multiplayer icon indicating copy to clipboard operation
Multiplayer copied to clipboard

Sync atmospheric heater "reset" gizmo

Open SokyranTheDragon opened this issue 1 year ago • 0 comments

Comp_AtmosphericHeater is a subtype of CompTempControl, but has the CompGetGizmosExtra method rewritten. The +/- 1/10 degrees change was working fine, as it called the synced method InterfaceChangeTargetTemperature_NewTemp. However, this was not the case for the reset gizmo, as it set the temperature directly. I've synced the reset gizmo for the atmospheric heater itself, so it should work fine now.

Also moved the CompTempControl gizmo syncing from SyncDelegates to SyncMethods, right next to where the other sync method for the type was registered. I believe it should have been there to begin with, and I must have made a mistake while working through all the new and changed gizmos in 1.5.

SokyranTheDragon avatar Aug 18 '24 17:08 SokyranTheDragon