Clear cancelled resurrections announced over HealComm and CTRA

ParseChatMessage tested the raw message for "RessStop", which no
HealComm message is, so ParseComm's Resurrection/stop/ result was never
acted on. CTRA's RESNO was matched against the whole message, but it
carries the target's name, and the CTRA parser only recognised RES. A
cancelled rez from another player left the icon on the target's frame
until they were revived. RessStop still keeps a rez whose cast landed
and whose accept window is open.
This commit is contained in:
Brues
2026-10-29 18:58:15 -05:00
parent 2b4d33d46a
commit 03ea3d5aa5
+3 -1
View File
@@ -482,13 +482,15 @@ function libpredict:ParseChatMessage(sender, msg, comm)
if cmd and ctratarget and cmd == "RES" and ctratarget ~= "" and ctratarget ~= UNKNOWN then
msgtype = "Ress"
target = ctratarget
elseif cmd == "RESNO" then
msgtype = "RessStop"
end
end
if msgtype == "Stop" and sender then
libpredict:HealStop(sender)
return
elseif ( msg == "RessStop" or msg == "RESNO" ) and sender then
elseif msgtype == "RessStop" and sender then
libpredict:RessStop(sender)
return
elseif msgtype == "Delay" and time then