From b555cc720a9aa46c193bec9bb46dd56a89f8b990 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 21 Sep 2019 13:45:55 -0700 Subject: [PATCH] Get script group via public method, not direct property access --- modern/src/maki-interpreter/interpreter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }