diff --git a/modern/src/maki-interpreter/interpreter.js b/modern/src/maki-interpreter/interpreter.js index 2a9bc4eb..dc51d204 100644 --- a/modern/src/maki-interpreter/interpreter.js +++ b/modern/src/maki-interpreter/interpreter.js @@ -319,7 +319,7 @@ export function* interpret(start, program, stack = []) { const classesOffset = command.arg; const Klass = classes[classesOffset]; const system = variables[0].getValue(); - const klassInst = new Klass(null, system.scriptGroup); + const klassInst = new Klass(null, system.getscriptgroup()); stack.push(klassInst); break; }