Implemented the DoesNotExist condition.

This commit is contained in:
ruri
2019-04-20 12:04:10 +02:00
parent 78483a1a84
commit f3552a58a1
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ namespace RuriLib.LS
var first = LineParser.ParseLiteral(ref cfLine, "STRING");
var condition = (Condition)LineParser.ParseEnum(ref cfLine, "CONDITION", typeof(Condition));
var second = "";
if (condition != Condition.Exists)
if (condition != Condition.Exists && condition != Condition.DoesNotExist)
second = LineParser.ParseLiteral(ref cfLine, "STRING");
return (ConditionChecker.Verify(first, condition, second, data));
}