We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c309ab commit 9d2c813Copy full SHA for 9d2c813
SmallBase/includes/lib/utils.lua
@@ -100,7 +100,7 @@ function GetScriptGlobalOrLocal(name, get_full_table)
100
local map = { [eAPIVersion.V1] = "LEGACY", [eAPIVersion.V2] = "ENHANCED" }
101
local ret = T[map[Backend:GetAPIVersion()]] or T.LEGACY
102
---@diagnostic disable-next-line: return-type-mismatch
103
- return not get_full_table and ret or ret.value
+ return get_full_table and ret or ret.value
104
end
105
106
-- Lua version of Bob Jenskins' "Jenkins One At A Time" hash function
0 commit comments