Skip to content

Commit

Permalink
fix(server/main): table insertions
Browse files Browse the repository at this point in the history
fixes #2
  • Loading branch information
mafewtm committed Oct 17, 2024
1 parent f2d2f57 commit 22e5fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local function addPlayer(playerId)
local groups = {}

for group in pairs(sharedConfig.groups) do
groups[group] = true
groups[#groups + 1] = group
end

local hasGroup = exports.qbx_core:HasPrimaryGroup(playerId, groups)
Expand Down

0 comments on commit 22e5fdf

Please sign in to comment.