public override void TickRare() { base.TickRare(); if (WindowComp.state == State.Ajar) { float rate = Size * 14f; // following in suit of the default '14f' of a vent in vanilla GenTemperature.EqualizeTemperaturesThroughBuilding(this, rate, true); } if (LastUpdate-- <= 0) { if (WindowComp.facing == LinkDirections.None) { WindowComp.TryResolveFacing(); } LastUpdate = 25; if (ElifsDecorationsSettings.BeautyEnabled) { WindowComp.GetBeauty(); } } }