diff options
Diffstat (limited to 'script-beta')
-rw-r--r-- | script-beta/parser/guide.lua | 4 | ||||
-rw-r--r-- | script-beta/vm/vm.lua | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index a791dfb9..7e1bc278 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -25,7 +25,7 @@ local function logWarn(...) log.warn(...) end -local _ENV = nil +_ENV = nil local m = {} @@ -810,7 +810,7 @@ end ---@return table|nil pathB function m.getPath(a, b, sameFunction) --- 首先测试双方在同一个函数内 - if not sameFunction and m.getParentFunction(a) ~= m.getParentFunction(b) then + if sameFunction and m.getParentFunction(a) ~= m.getParentFunction(b) then return false end local mode diff --git a/script-beta/vm/vm.lua b/script-beta/vm/vm.lua index 91b27cdd..90f75b4a 100644 --- a/script-beta/vm/vm.lua +++ b/script-beta/vm/vm.lua @@ -14,7 +14,7 @@ local xpcall = xpcall local mathHuge = math.huge local collectgarbage = collectgarbage -local _ENV = nil +_ENV = nil ---@class vm local m = {} |