Skip to content

Commit

Permalink
Fixed bug preventing vanilla players from joining modded games in cer…
Browse files Browse the repository at this point in the history
…tain cases.
  • Loading branch information
Nagord committed Jun 8, 2023
1 parent 9fe321b commit 1c67454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PulsarModLoader/MPModChecks/MPModCheckManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ private List<PulsarMod> GetMPModList()
List<PulsarMod> modList = new List<PulsarMod>();
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);
}
Expand Down

0 comments on commit 1c67454

Please sign in to comment.