Skip to content

Commit

Permalink
Fix exception on mod startup
Browse files Browse the repository at this point in the history
  • Loading branch information
dymanoid committed Aug 6, 2018
1 parent 7f6b1fc commit d60aa5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RealTime/Core/RealTimeMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d60aa5d

Please sign in to comment.