Skip to content

Commit

Permalink
fix: [独自ヘッダー]削除対象でないエラーも削除されてしまう不具合を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
automatic9045 committed May 22, 2023
1 parent 45d04e6 commit fea7c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AtsEx/Main/ScenarioService.PluginLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void AddRangeToMapPlugins(Dictionary<string, PluginBase> plugins)
{
IEnumerable<LoadError> removeTargetErrors = BveHacker.LoadErrorManager.Errors.Where(error =>
{
bool isTargetError = BveHacker._MapHeaders.Any(header => header.LineIndex == error.LineIndex && header.CharIndex == header.CharIndex);
bool isTargetError = BveHacker._MapHeaders.Any(header => header.LineIndex == error.LineIndex && header.CharIndex == error.CharIndex);
return isTargetError;
});
foreach (LoadError error in removeTargetErrors)
Expand Down

0 comments on commit fea7c6a

Please sign in to comment.