Fix SM overenergization (#4376)

Fixes a bug where emitters would apply way more energy to the SM than intended.
This commit is contained in:
Lohikar
2018-03-10 15:50:08 -06:00
committed by Erki
parent aef060e166
commit 53e2f21d6f

View File

@@ -364,6 +364,8 @@
return
if(istype(AM, /obj/effect))
return
if(isprojectile(AM))
return
if(istype(AM, /mob/living))
AM.visible_message("<span class=\"warning\">\The [AM] slams into \the [src] inducing a resonance... \his body starts to glow and catch flame before flashing into ash.</span>",\
"<span class=\"danger\">You slam into \the [src] as your ears are filled with unearthly ringing. Your last thought is \"Oh, fuck.\"</span>",\