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

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

            ToggleDecomposition(uid, decompose);
        }