removed debug code
This commit is contained in:
parent
7c0345b160
commit
05c6bdf008
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user