Skip to content

Commit

Permalink
Ugh, wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
bcssov committed Nov 1, 2024
1 parent a18c97c commit e318c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IronyModManager.Services/ModPatchCollectionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Created : 05-26-2020
//
// Last Modified By : Mario
// Last Modified On : 10-30-2024
// Last Modified On : 11-01-2024
// ***********************************************************************
// <copyright file="ModPatchCollectionService.cs" company="Mario">
// Mario
Expand Down Expand Up @@ -466,7 +466,7 @@ public virtual async Task<IConflictResult> FindConflictsAsync(IIndexedDefinition
foreach (var item in allDefs)
{
var addDefault = true;
if ((item.Id.Equals(Parser.Common.Constants.Stellaris.InlineScriptId, StringComparison.OrdinalIgnoreCase) || item.ContainsInlineIdentifier) && item.File.StartsWith(provider.InlineScriptsPath))
if ((item.Id.Equals(Parser.Common.Constants.Stellaris.InlineScriptId, StringComparison.OrdinalIgnoreCase) || item.ContainsInlineIdentifier) && !item.File.StartsWith(provider.InlineScriptsPath))
{
addDefault = false;
var path = Path.Combine(Parser.Common.Constants.Stellaris.InlineScripts, parametrizedParser.GetScriptPath(item.Code));
Expand Down

0 comments on commit e318c5b

Please sign in to comment.