Skip to content

Commit ddc7e29

Browse files
committed
update playerstatus when a user disconnects
1 parent 99e0df4 commit ddc7e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/metaconcord/payloads/StatusPayload.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function StatusPayload:__call(socket)
121121
end
122122

123123
local function remove(self, data)
124-
if not isReady or (data.bot and data.bot == 1) or not connectingPlayers[data.userid] then return end
124+
if not isReady or (data.bot and data.bot == 1) then return end
125125
connectingPlayers[data.userid] = nil
126126

127127
timer.Simple(0, function()

0 commit comments

Comments
 (0)