Skip to content

Commit

Permalink
fix(server/queue): use correct player source
Browse files Browse the repository at this point in the history
  • Loading branch information
D4isDAVID authored and ChatDisabled committed Dec 24, 2023
1 parent a7bcbc9 commit fc54a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/queue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ local function awaitPlayerQueue(source, license, deferrals)

-- wait until the player finally joins or disconnects while installing server content
-- this may result in waiting ~2 additional minutes if the player disconnects as FXServer will think that the player exists
while DoesPlayerExist(source --[[@as string]]) do
while DoesPlayerExist(joiningData.source --[[@as string]]) do
Wait(1000)
end

Expand All @@ -166,4 +166,4 @@ end
return {
awaitPlayerQueue = awaitPlayerQueue,
removePlayerJoining = removePlayerJoining,
}
}

0 comments on commit fc54a8c

Please sign in to comment.