diff --git a/game/game.js b/game/game.js index 277770392..4c95d8094 100644 --- a/game/game.js +++ b/game/game.js @@ -46587,11 +46587,11 @@ } else{ if(!window.CodeMirror){ - lib.init.js(lib.assetURL+'game','codemirror',()=>lib.codeMirrorReady(node,editor)); + lib.init.js(lib.assetURL+'game','codemirror',()=>lib.codeMirrorReady(node,this.editor)); lib.init.css(lib.assetURL+'layout/default','codemirror'); } else{ - lib.codeMirrorReady(node,editor); + lib.codeMirrorReady(node,this.editor); } } };