tighten up function args for non-linear calls

This commit is contained in:
gnembon committed 2020-05-10 13:11:58 -03:00
1 parent d35769a365
commit 56f8f17aaa
3 files changed
+14 -10

No files matched your search

@@ -2967,7 +2967,7 @@ public class CarpetExpression
throw new InternalExpressionException("'schedule' should have at least 2 arguments, delay and call name");
long delay = NumericValue.asNumber(lv.get(0).evalValue(c)).getLong();
FunctionArgument functionArgument = FunctionArgument.findIn(c, this.expr.module, lv, 1, true);
FunctionArgument functionArgument = FunctionArgument.findIn(c, this.expr.module, lv, 1, true, true);
CarpetServer.scriptServer.events.scheduleCall(
(CarpetContext) c,