From d60aa5dd221efb127ac38724e9bb74ee351f6e61 Mon Sep 17 00:00:00 2001 From: dymanoid <9433345+dymanoid@users.noreply.github.com> Date: Mon, 6 Aug 2018 08:21:53 +0200 Subject: [PATCH] Fix exception on mod startup --- src/RealTime/Core/RealTimeMod.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RealTime/Core/RealTimeMod.cs b/src/RealTime/Core/RealTimeMod.cs index 57697309..15ad0cdf 100644 --- a/src/RealTime/Core/RealTimeMod.cs +++ b/src/RealTime/Core/RealTimeMod.cs @@ -159,7 +159,7 @@ public override void OnLevelLoaded(LoadMode mode) bool showMessage = core.IsRestrictedMode; if (configProvider.Configuration.ShowIncompatibilityNotifications) { - showMessage = Compatibility.CheckAndNotify(Name, localizationProvider, restricted); + showMessage = Compatibility.CheckAndNotify(Name, localizationProvider, restricted) && core.IsRestrictedMode; } if (showMessage)