Skip to content

Commit

Permalink
feat(server/main): notify in console if there is a newer version of c…
Browse files Browse the repository at this point in the history
…ore to update to
  • Loading branch information
Manason committed Nov 16, 2023
1 parent b8e9877 commit ef9b1d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/main.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
lib.versionCheck('Qbox-project/qbx_core')
if not lib.checkDependency('ox_lib', '3.10.0', true) then error() return end

---@type 'strict'|'relaxed'|'inactive'
local bucketLockDownMode = GetConvar('qbx:bucketlockdownmode', 'inactive')
SetRoutingBucketEntityLockdownMode(0, bucketLockDownMode)

if not lib.checkDependency('ox_lib', '3.10.0', true) then error() return end

QBX = {}
QBX.Shared = require 'shared.main'

Expand Down

0 comments on commit ef9b1d1

Please sign in to comment.