mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 22:01:33 +00:00
fix(client-callbacks): check source before attempting concatenation
This commit is contained in:
@@ -441,6 +441,7 @@ end
|
||||
---@param cb function
|
||||
---@param ... any
|
||||
function QBCore.Functions.TriggerClientCallback(name, source, ...)
|
||||
if not source then return end
|
||||
local cb = nil
|
||||
local args = { ... }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user