diff --git a/NewHorizons/OtherMods/OWRichPresence/RichPresenceHandler.cs b/NewHorizons/OtherMods/OWRichPresence/RichPresenceHandler.cs index eab39d4c..a1e4da27 100644 --- a/NewHorizons/OtherMods/OWRichPresence/RichPresenceHandler.cs +++ b/NewHorizons/OtherMods/OWRichPresence/RichPresenceHandler.cs @@ -52,6 +52,8 @@ namespace NewHorizons.OtherMods.OWRichPresence public static void OnStarSystemLoaded(string name) { + if (!Enabled) return; + if (name == "SolarSystem") return; var localizedName = ShipLogStarChartMode.UniqueIDToName(name); @@ -62,6 +64,8 @@ namespace NewHorizons.OtherMods.OWRichPresence public static void OnChangeStarSystem(string destination) { + if (!Enabled) return; + var localizedName = ShipLogStarChartMode.UniqueIDToName(destination); var message = TranslationHandler.GetTranslation("RICH_PRESENCE_WARPING", TranslationHandler.TextType.UI).Replace("{0}", localizedName);