diff options
Diffstat (limited to 'script/workspace/loading.lua')
-rw-r--r-- | script/workspace/loading.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/script/workspace/loading.lua b/script/workspace/loading.lua index 9344949c..ff8626ed 100644 --- a/script/workspace/loading.lua +++ b/script/workspace/loading.lua @@ -99,7 +99,11 @@ function mt:loadFile(uri, libraryUri) -- self._sets[#self._sets+1] = waker --end) files.setText(uri, content, false) - files.getState(uri) + if COMPILECORES then + files.compileState(uri, true) + else + files.compileState(uri) + end if not self._cache[uri] then files.addRef(uri) end |