[FIX] Extinguishing someone else gives the right message (#30319)

* Send self message to the right person

* Change visible message to the right target

---------

Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
This commit is contained in:
Chap
2025-08-29 13:43:17 +02:00
committed by GitHub
parent b4724b63fa
commit b079617adc
@@ -324,7 +324,7 @@
self_message = "<span class='danger'>You burn your hand trying to extinguish [target]!</span>"
H.update_icons()
target.visible_message("<span class='warning'>[src] tries to extinguish [target]!</span>", self_message)
visible_message("<span class='warning'>[src] tries to extinguish [target]!</span>", self_message)
playsound(target, 'sound/weapons/thudswoosh.ogg', 50, TRUE, -1)
target.adjust_fire_stacks(-0.5)