Skip to content

Commit

Permalink
Merge pull request #6 from InvalidArgument3/the-big-one-wc
Browse files Browse the repository at this point in the history
friendlyname compat for defense shields
  • Loading branch information
InvalidArgument3 authored Jan 29, 2024
2 parents 2f8b4b5 + 675d5e4 commit 1319b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/Scripts/CoreSystems/Session/SessionSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ private void ModChecker()
ModInfo.TryAdd(mod.GetPath(), mod);

if (mod.PublishedFileId == 1365616918 || mod.PublishedFileId == 2372872458) ShieldMod = true;
else if (mod.GetPath().Contains("AppData\\Roaming\\SpaceEngineers\\Mods\\DefenseShields"))
else if (mod.GetPath().Contains("AppData\\Roaming\\SpaceEngineers\\Mods\\DefenseShields") || mod.Name.StartsWith("DefenseShields") || mod.FriendlyName.StartsWith("DefenseShields"))
ShieldMod = true;
else if (mod.PublishedFileId == 1931509062 || mod.PublishedFileId == 1995197719 || mod.PublishedFileId == 2006751214 || mod.PublishedFileId == 2015560129)
ReplaceVanilla = true;
Expand Down

0 comments on commit 1319b89

Please sign in to comment.