removed debug code

This commit is contained in:
Timerix 2025-04-05 02:08:23 +05:00
parent 7c0345b160
commit 05c6bdf008
2 changed files with 0 additions and 4 deletions

View File

@ -332,8 +332,6 @@ public class SaveParserEU4
public Dictionary<string, List<object>> Parse() public Dictionary<string, List<object>> Parse()
{ {
var root = ParseDict(); var root = ParseDict();
if (root.Count == 0)
throw new Exception("Save file is empty");
return root; return root;
} }
} }

View File

@ -24,8 +24,6 @@ public class SearchExpression : ISearchExpression
public bool DoesMatch(SearchArgs args) public bool DoesMatch(SearchArgs args)
{ {
if (args.key is "c" or "d" or "e")
Console.WriteLine("UwU");
int index = args.currentDepth - _expressionDepth; int index = args.currentDepth - _expressionDepth;
if (index < 0 || index >= _compiledExpression.Count) if (index < 0 || index >= _compiledExpression.Count)
return true; return true;