diff --git a/README.md b/README.md index 206b20e..d28cc69 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This project aims to bring together community bug fixes for Kerbal Space Program - **KSP 2 Save Fix** by [jayouimet](https://github.com/jayouimet) - Replaces the Control Owner Part to the first available Command module or to the Root part if not found when it is set to null. - **Vessel Landed State Fix*** by [munix](https://github.com/jan-bures) - Checks if the vessel's state is Landed when not actually near the ground and resets it.
_*This fix is experimental and untested for now - if you are experiencing the bug with its fix enabled, please create an issue [here](https://github.com/Bit-Studios/CommunityFixes/issues)._ - **Velocity Display Precision Fix** by [arthomnix](https://github.com/arthomnix) - Fixes the digit after the decimal point on the navball velocity display always being zero at velocities above 100m/s. -- **Better Node Check Fix** by [schlosrat](https://github.com/schlosrat) - Fixes not being able to create maneuver nodes when there isn't enough engine ∆v. Can be configured to either always allow creating nodes, or only with enough combined engine and RCS ∆v. +- **Suppress Transmissions Falsely Urgent Fix** by [schlosrat](https://github.com/schlosrat) - Suppresses unhelpful map view log messages. ## Planned fixes To see what fixes are planned to be implemented, you can visit the [Issues page](https://github.com/Bit-Studios/CommunityFixes/issues) on the project's GitHub. diff --git a/src/Fix/STFUFix/BogusMessageSuppressionFix.cs b/src/Fix/STFUFix/BogusMessageSuppressionFix.cs index 410d5b5..663ceb1 100644 --- a/src/Fix/STFUFix/BogusMessageSuppressionFix.cs +++ b/src/Fix/STFUFix/BogusMessageSuppressionFix.cs @@ -3,7 +3,7 @@ namespace CommunityFixes.Fix.STFUFix; -[Fix("Suspress bogus and unhelpful log messages")] +[Fix("Suppress bogus and unhelpful log messages")] public class SuppressTransmissionsFalselyUrgentFix : BaseFix { public static SuppressTransmissionsFalselyUrgentFix Instance; diff --git a/src/Fix/STFUFix/STFUPatches.cs b/src/Fix/STFUFix/STFUPatches.cs index 9619104..cc38c3e 100644 --- a/src/Fix/STFUFix/STFUPatches.cs +++ b/src/Fix/STFUFix/STFUPatches.cs @@ -12,17 +12,17 @@ internal class STFUPatches public static bool BetterUpdateViewForOrbiter(Map3DTrajectoryEvents __instance, OrbiterComponent orbiter) { if (orbiter == null) - GlobalLog.Warn((object)"GenerateEventsForVessel() called with vessel.Orbiter == null! Events will not be updated"); + GlobalLog.Warn("GenerateEventsForVessel() called with vessel.Orbiter == null! Events will not be updated"); else if (orbiter.PatchedConicSolver == null) { var activeVessel = GameManager.Instance?.Game?.ViewController?.GetActiveVehicle(true)?.GetSimVessel(true); var currentTarget = activeVessel?.TargetObject; if (!currentTarget.IsCelestialBody) - GlobalLog.Warn((object)"GenerateEventsForVessel() called with vessel.Orbiter.patchedConicSolver == null. Events will not be updated"); + GlobalLog.Warn("GenerateEventsForVessel() called with vessel.Orbiter.patchedConicSolver == null. Events will not be updated"); } - else if ((UnityEngine.Object)__instance._mapCamera?.UnityCamera == (UnityEngine.Object)null) + else if (__instance._mapCamera?.UnityCamera == null) { - GlobalLog.Warn((object)"GenerateEventsForVessel() called with a null map camera. Events will not be updated"); + GlobalLog.Warn("GenerateEventsForVessel() called with a null map camera. Events will not be updated"); } else {