diff options
Diffstat (limited to 'server/src/vm/vm.lua')
-rw-r--r-- | server/src/vm/vm.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index d9d29886..d89a9a56 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -3,7 +3,7 @@ local createValue = require 'vm.value' local createLocal = require 'vm.local' local createLabel = require 'vm.label' local createFunction = require 'vm.function' -local instantSource = require 'vm.source' +local sourceMgr = require 'vm.source' local buildGlobal = require 'vm.global' local createMulti = require 'vm.multi' local libraryBuilder = require 'vm.library' @@ -1074,7 +1074,7 @@ function mt:getUri() end function mt:instantSource(source) - if instantSource(self, source) then + if sourceMgr.instant(self, source) then source:setUri(self:getUri()) self.sources[#self.sources+1] = source CachedSource[source] = true |