mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Use full caller as key to avoid conflicts
This commit is contained in:
parent
17b2752b38
commit
6284d83ed7
1 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ function API.new(app)
|
|||
end
|
||||
|
||||
function Rojo:Notify(msg: string, timeout: number?)
|
||||
local source = Rojo:_getCaller()
|
||||
local source = Rojo:_getCallerFull()
|
||||
|
||||
if Rojo._notifRateLimit[source] == nil then
|
||||
Rojo._notifRateLimit[source] = 0
|
||||
|
|
@ -123,7 +123,7 @@ function API.new(app)
|
|||
Rojo._notifRateLimit[source] -= 1
|
||||
end)
|
||||
|
||||
app:addThirdPartyNotification(source, msg, timeout)
|
||||
app:addThirdPartyNotification(Rojo:_getCaller(), msg, timeout)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue