Skip to content

Commit 48268e2

Browse files
committed
Fixed rule options
1 parent 7ae9bfe commit 48268e2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • Deltinteger/Deltinteger/Parse

Deltinteger/Deltinteger/Parse/ast.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ public override Node VisitOw_rule(DeltinScriptParser.Ow_ruleContext context)
116116
if (value != null)
117117
valueRange = Range.GetRange(ruleOption.PART(1).Symbol);
118118

119-
/*
120119
switch (option)
121120
{
122121
case "Event":
@@ -141,7 +140,6 @@ public override Node VisitOw_rule(DeltinScriptParser.Ow_ruleContext context)
141140
_diagnostics.Add(new Diagnostic($"{value} is not a valid rule option.", optionRange));
142141
break;
143142
}
144-
*/
145143
}
146144

147145
var node = new RuleNode(name, eventType, team, player, conditions, block, eventRange, teamRange, playerRange, conditionRanges, Range.GetRange(context));

0 commit comments

Comments
 (0)