File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ local sessionIdLock = false
47
47
--- Sets a unique sessionId statebag on the entity.
48
48
--- @param entity number
49
49
--- @return integer sessionId
50
- local function setSessionId (entity )
50
+ local function createSessionId (entity )
51
51
if sessionIdLock then
52
52
lib .waitFor (function ()
53
53
if not sessionIdLock then return true end
@@ -60,7 +60,7 @@ local function setSessionId(entity)
60
60
return currentSessionId - 1
61
61
end
62
62
63
- exports (' SetSessionId ' , setSessionId )
63
+ exports (' CreateSessionId ' , createSessionId )
64
64
65
65
--- Caches the vehicle classes the first time this is called by getting the data from a random client.
66
66
--- Throws an error if there is no cache and no client is connected to get the data from.
You can’t perform that action at this time.
0 commit comments