diff --git a/src/bundles/game/functions.ts b/src/bundles/game/functions.ts index 637d95fe9..d91654ea0 100644 --- a/src/bundles/game/functions.ts +++ b/src/bundles/game/functions.ts @@ -761,6 +761,7 @@ export default function gameFuncs(): { [name: string]: any } { Object.entries(functions) .forEach(([key, fn]) => { finalFunctions[key] = !scene ? nullFn : fn; + finalFunctions[key].minArgsNeeded = fn.length; }); return finalFunctions;