Skip to content

Commit

Permalink
Minor comment removals
Browse files Browse the repository at this point in the history
  • Loading branch information
icedown committed Nov 19, 2016
1 parent a0907b2 commit d40b6f3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ProbeControlRoom/ProbeControlRoom.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ public void OnDestroy()
//re-enable sound
GameSettings.SHIP_VOLUME = shipVolumeBackup;
GameSettings.AMBIENCE_VOLUME = ambianceVolumeBackup;
//GameSettings.MUSIC_VOLUME = musicVolumeBackup;
//GameSettings.UI_VOLUME = uiVolumeBackup;
//GameSettings.VOICE_VOLUME = voiceVolumeBackup;
}

if (ProbeControlRoomSettings.Instance.DisableWobble)
Expand All @@ -140,7 +137,6 @@ public void OnDestroy()
GameSettings.CAMERA_FX_INTERNAL = cameraFXInternalBackup;
GameSettings.CAMERA_FX_EXTERNAL = cameraFXExternalBackup;
}
// TODO: remove cfg file with cached vars, no crash and reseted, no need to keep

ProbeControlRoomUtils.Logger.debug("OnDestroy()");
GameEvents.onVesselChange.Remove(OnVesselChange);
Expand Down Expand Up @@ -182,7 +178,6 @@ public bool startIVA()
return false;
}

// refreshVesselRooms (false);
if (aPart == null)
{
ProbeControlRoomUtils.Logger.message("startIVA() Lost our part, refreshing");
Expand Down Expand Up @@ -213,10 +208,6 @@ public bool startIVA()
//disable sound
shipVolumeBackup = GameSettings.SHIP_VOLUME;
ambianceVolumeBackup = GameSettings.AMBIENCE_VOLUME;
//musicVolumeBackup = GameSettings.MUSIC_VOLUME;
//uiVolumeBackup = GameSettings.UI_VOLUME;
//voiceVolumeBackup = GameSettings.VOICE_VOLUME;

if (ProbeControlRoomSettings.Instance.DisableSounds)
{
ProbeControlRoomUtils.Logger.message("startIVA() - DisableSounds");
Expand Down

0 comments on commit d40b6f3

Please sign in to comment.