From 1c674543e47574d5c0639a87538823e4254dc3ec Mon Sep 17 00:00:00 2001 From: DragonFire47 <46509577+DragonFire47@users.noreply.github.com> Date: Thu, 8 Jun 2023 13:04:31 -0700 Subject: [PATCH] Fixed bug preventing vanilla players from joining modded games in certain cases. --- PulsarModLoader/MPModChecks/MPModCheckManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PulsarModLoader/MPModChecks/MPModCheckManager.cs b/PulsarModLoader/MPModChecks/MPModCheckManager.cs index a90828b..c1fd125 100644 --- a/PulsarModLoader/MPModChecks/MPModCheckManager.cs +++ b/PulsarModLoader/MPModChecks/MPModCheckManager.cs @@ -156,9 +156,9 @@ private List GetMPModList() List modList = new List(); foreach (PulsarMod mod in ModManager.Instance.GetAllMods()) { - if (mod.MPRequirements != (int)MPRequirement.HideFromServerList && mod.MPRequirements != (int)MPRequirement.MatchVersion) + if (mod.MPRequirements != (int)MPRequirement.HideFromServerList) { - if ((mod.MPRequirements == (int)MPRequirement.Host || mod.MPRequirements == (int)MPRequirement.All) && mod.MPRequirements > HighestLevelOfMPMods) + if (mod.MPRequirements != (int)MPRequirement.MatchVersion && (mod.MPRequirements == (int)MPRequirement.Host || mod.MPRequirements == (int)MPRequirement.All) && mod.MPRequirements > HighestLevelOfMPMods) { HighestLevelOfMPMods = (mod.MPRequirements); }