mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-21 23:33:12 +09:00
UUID in global fixed
This commit is contained in:
1 parent
19e2a6f5ed
commit
6d5588ab3f
1 file changed
+1
@@ -73,6 +73,7 @@ function server.clear_callbacks()
|
|||||||
end
|
end
|
||||||
-- converts any value into the uuid the script will use
|
-- converts any value into the uuid the script will use
|
||||||
function server.get_uuid(var)
|
function server.get_uuid(var)
|
||||||
|
local uuid = nil
|
||||||
if type(var) == 'string' then uuid = var
|
if type(var) == 'string' then uuid = var
|
||||||
else uuid = tostring(global.exp_core.uuids()) end
|
else uuid = tostring(global.exp_core.uuids()) end
|
||||||
uuid = string.tohex('uuid'..uuid)
|
uuid = string.tohex('uuid'..uuid)
|
||||||
|
|||||||
Reference in new issue
Block a user