teslas now fizzle at 0 energy and adds admin log for fizzles

fixing the tesla engine 100% speedrun world record
This commit is contained in:
raspy-on-osu
2020-08-27 02:39:09 -04:00
parent 68cb78ba51
commit 350a99a4ba
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -148,6 +148,10 @@
else if(orbiting_balls.len)
dissipate() //sing code has a much better system.
if(energy<=0)
investigate_log("fizzled.", INVESTIGATE_TESLA)
qdel(src)
/obj/singularity/energy_ball/proc/new_mini_ball()
if(!loc)
return