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