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