From bffd50a3ff9c1dcffe8438e011f8011c21fc6d06 Mon Sep 17 00:00:00 2001 From: mochi Date: Thu, 8 Oct 2020 19:48:47 +0200 Subject: [PATCH] Fix Supermatter shard dusting AI on click --- code/modules/power/supermatter/supermatter.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/power/supermatter/supermatter.dm b/code/modules/power/supermatter/supermatter.dm index 6146cd3ac2c..844615d5be7 100644 --- a/code/modules/power/supermatter/supermatter.dm +++ b/code/modules/power/supermatter/supermatter.dm @@ -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("\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.",\ "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.\"",\ "You hear an uneartly ringing, then what sounds like a shrilling kettle as you are washed with a wave of heat.")