Skip to content

Commit

Permalink
fix(server/queue): get max players via convar for better reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
D4isDAVID authored Aug 23, 2024
1 parent ad1805f commit 19c4ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/queue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end
-- Queue code

local config = require 'config.queue'
local maxPlayers = GlobalState.MaxPlayers
local maxPlayers = GetConvarInt('sv_maxclients', 48)

-- destructure frequently used config options
local waitingEmojis = config.waitingEmojis
Expand Down

0 comments on commit 19c4ce3

Please sign in to comment.