diff --git a/src/client/scripts/aoiscript/type-checker.ts b/src/client/scripts/aoiscript/type-checker.ts index 93b13c4bda..c10198e119 100644 --- a/src/client/scripts/aoiscript/type-checker.ts +++ b/src/client/scripts/aoiscript/type-checker.ts @@ -110,6 +110,7 @@ export class ASTypeChecker { return null; } + if (v.type === 'aiScriptVar') return null; if (v.type === 'fn') return null; // todo if (v.type.startsWith('fn:')) return null; // todo