private void OnTempChange(EntityUid uid, RottingComponent component, OnTemperatureChangeEvent args)
        {
            if (HasComp <BodyPreservedComponent>(uid))
            {
                return;
            }
            bool decompose = (args.CurrentTemperature > 274f);

            ToggleDecomposition(uid, decompose);
        }
예제 #2
0
        private void OnTempChange(EntityUid uid, RottingComponent component, OnTemperatureChangeEvent args)
        {
            bool decompose = (args.CurrentTemperature > 274f);

            ToggleDecomposition(uid, decompose);
        }