Merge pull request #14565 from dearmochi/fix-sm-dusting-ai

Fix Supermatter shard dusting AI on click
This commit is contained in:
AffectedArc07
2020-10-08 18:57:44 +01:00
committed by GitHub
@@ -313,6 +313,8 @@
return attack_hand(user)
/obj/machinery/power/supermatter_shard/attack_hand(mob/user as mob)
if(isAI(user))
return
user.visible_message("<span class=\"warning\">\The [user] reaches out and touches \the [src], inducing a resonance... [user.p_their(TRUE)] body starts to glow and bursts into flames before flashing into ash.</span>",\
"<span class=\"danger\">You reach out and touch \the [src]. Everything starts burning and all you can hear is ringing. Your last thought is \"That was not a wise decision.\"</span>",\
"<span class=\"warning\">You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.</span>")