mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
prediction: add missing sender to ress parameters
This commit is contained in:
@@ -67,7 +67,7 @@ pfUI:RegisterModule("prediction", function ()
|
||||
|
||||
local _, _, evtype, target = string.find(msg, '(Resurrection)/(%a+)/(start)/')
|
||||
if evtype and target then
|
||||
pfUI.prediction:Ress(target)
|
||||
pfUI.prediction:Ress(sender, target)
|
||||
return
|
||||
end
|
||||
end
|
||||
@@ -125,7 +125,7 @@ pfUI:RegisterModule("prediction", function ()
|
||||
return sumheal
|
||||
end
|
||||
|
||||
function pfUI.prediction:Ress(target)
|
||||
function pfUI.prediction:Ress(sender, target)
|
||||
ress[target] = ress[target] or {}
|
||||
ress[target][sender] = true
|
||||
pfUI.prediction:TriggerUpdate(target)
|
||||
|
||||
Reference in New Issue
Block a user