show correct attacker when being attacked by somebody with an item (#45783)

This commit is contained in:
William Wallace
2019-08-07 15:53:44 -07:00
committed by ShizCalev
parent 21c1cd4ea1
commit f94756bdbf
+1 -1
View File
@@ -135,7 +135,7 @@
var/attack_message_local = "You're [message_verb][message_hit_area] with [I]!"
if(user in viewers(src, null))
attack_message = "[user] [message_verb] [src][message_hit_area] with [I]!"
attack_message_local = "[src] [message_verb] you[message_hit_area] with [I]!"
attack_message_local = "[user] [message_verb] you[message_hit_area] with [I]!"
visible_message("<span class='danger'>[attack_message]</span>",\
"<span class='userdanger'>[attack_message_local]</span>", null, COMBAT_MESSAGE_RANGE)
return 1