Stop medium behaviors retaining configs

This commit is contained in:
Meta Vens 2026-06-15 17:54:59 +01:00
commit 85eca69d37
13 changed files with 83 additions and 58 deletions

View file

@ -628,7 +628,7 @@ public class PropertiesPanel : MonoBehaviour
{
switch (behavior)
{
case Thermotoggle thermotoggle when thermotoggle.ThermotoggleConfig.Adjustable:
case Thermotoggle thermotoggle when thermotoggle.Adjustable:
AddField("Target Temperature",
() => thermotoggle.TargetTemperature,
temp => thermotoggle.TargetTemperature = temp);