Skip to content

Commit

Permalink
fix wrong warning with $ifend
Browse files Browse the repository at this point in the history
  • Loading branch information
cech12 committed Dec 15, 2020
1 parent aa54b76 commit e47e5b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Service/ModdingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public int LetsMod(Mod mod, DirectoryInfo modDirectory, DirectoryInfo gameDirect
if (line.StartsWith("$ifend") && ifStack.Count > 0)
{
ifStack.Pop();
continue;
}
//if clause
if (line.StartsWith("$if:"))
Expand Down

0 comments on commit e47e5b3

Please sign in to comment.