UUID in global fixed

This commit is contained in:
Cooldude2606
2017-11-06 19:30:52 +00:00
parent 19e2a6f5ed
commit 6d5588ab3f

View File

@@ -73,6 +73,7 @@ function server.clear_callbacks()
end
-- converts any value into the uuid the script will use
function server.get_uuid(var)
local uuid = nil
if type(var) == 'string' then uuid = var
else uuid = tostring(global.exp_core.uuids()) end
uuid = string.tohex('uuid'..uuid)