Check actually works now

Tested it. Hopefully that's the last commit needed.
This commit is contained in:
HugoLuman
2016-05-19 17:31:35 -07:00
parent ee438cca12
commit e02222f11f
@@ -160,10 +160,10 @@
/obj/machinery/field/generator/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)
if(powered)
to_chat(S, "<span class='warning'>An inhospitable area may be created as a result of destroying this object. Aborting.</span>")
if(!active)
S.DisIntegrate(src)
return
else S.DisIntegrate(src)
else to_chat(S, "<span class='warning'>An inhospitable area may be created as a result of destroying this object. Aborting.</span>")
/obj/machinery/gravity_generator/swarmer_act(mob/living/simple_animal/hostile/swarmer/S)
S.DisIntegrate(src)