public void LeaveAtmosphere(AtmosDeviceComponent component) { if (!_atmosphereSystem.RemoveAtmosDevice(component)) { return; } component.LastProcess = TimeSpan.Zero; RaiseLocalEvent(component.Owner.Uid, new AtmosDeviceDisabledEvent(), false); }