Fixes Tesla never deleting itself. (#3752)

It was hilarious, but it's time to stop.
This commit is contained in:
chaoko99
2017-10-27 17:47:34 +03:00
committed by Erki
parent a057155ad8
commit 1c7d46681b
2 changed files with 39 additions and 0 deletions
+2
View File
@@ -58,6 +58,8 @@
tesla_zap(ball, range, TESLA_MINI_POWER/7*range, TRUE)
else
energy = 0 // ensure we dont have miniballs of miniballs
if(energy == 0)
qdel(src)
/obj/singularity/energy_ball/examine(mob/user)
..()