Bugfix: AI no longer dies if touching the supermatter, using attack_ai instead of a isAI() check.

This commit is contained in:
Ccomp5950
2013-12-03 18:50:19 -06:00
parent 254bba5e1a
commit 94f8ccfddd

View File

@@ -202,11 +202,11 @@
/obj/machinery/power/supermatter/attack_robot(mob/user as mob)
return attack_hand(user)
/obj/machinery/power/supermatter/attack_ai(mob/user as mob)
user << "<span class = \"warning\">You attempt to interface with the control circuits but find they are not connected to your network. Maybe in a future firmware update.</span>"
/obj/machinery/power/supermatter/attack_hand(mob/user as mob)
if(isAI(user))
user << "<span class = \"warning\">You attempt to interface with the control circuits but find they are not connected to your network.</span>"
return
user.visible_message("<span class=\"warning\">\The [user] reaches out and touches \the [src] inducing a resonance... \his body starts to glow and catch flame 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>")