public void JoinAtmosphere(AtmosDeviceComponent component) { if (!CanJoinAtmosphere(component)) { return; } // We try to add the device to a valid atmosphere. if (!_atmosphereSystem.AddAtmosDevice(component)) { return; } component.LastProcess = _gameTiming.CurTime; RaiseLocalEvent(component.Owner.Uid, new AtmosDeviceEnabledEvent(), false); }