Skip to content

Commit

Permalink
fix(server): error when disabling queue (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
D4isDAVID committed Feb 18, 2024
1 parent 07d85d8 commit 74e8e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lib.versionCheck('Qbox-project/qbx_core')
if not lib.checkDependency('ox_lib', '3.10.0', true) then error() return end
if not lib.checkDependency('ox_lib', '3.16.3', true) then error() return end

---@type 'strict'|'relaxed'|'inactive'
local bucketLockDownMode = GetConvar('qbx:bucketlockdownmode', 'inactive')
Expand Down
2 changes: 1 addition & 1 deletion server/queue.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if GetConvar('qbx:enablequeue', 'true') == 'false' then return end
if GetConvar('qbx:enablequeue', 'true') == 'false' then return false end

-- Disable hardcap because it kicks the player when the server is full

Expand Down

0 comments on commit 74e8e50

Please sign in to comment.