From 22e5fdfa822033cf2ea71b1690f0cdf9bd36d4b5 Mon Sep 17 00:00:00 2001 From: Matthew <22198949+MafewTM@users.noreply.github.com> Date: Thu, 17 Oct 2024 18:27:14 -0400 Subject: [PATCH] fix(server/main): table insertions fixes #2 --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index a47fc0c..29ae595 100644 --- a/server/main.lua +++ b/server/main.lua @@ -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)