minor fix for OP_INVOKE

This commit is contained in:
CPunch 2021-01-07 20:04:42 -06:00
parent c5ee704317
commit e57c194837
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ int cosmoV_execute(CState *state) {
cosmoT_get(&dict->tbl, constants[ident], &val);
// call closure/cfunction
if (!callCValue(state, val, args, nres, -1))
if (!callCValue(state, val, args, nres, 0))
return -1;
break;
}