A bunch of Initialize()s now have return values

This commit is contained in:
CitadelStationBot
2017-04-25 03:51:57 -05:00
parent 306e7c1cba
commit d931e5801c
39 changed files with 59 additions and 51 deletions
@@ -42,6 +42,5 @@
var/mob/living/buckled_mob = m
buckled_mob.electrocute_act(85, src, 1)
to_chat(buckled_mob, "<span class='userdanger'>You feel a deep shock course through your body!</span>")
spawn(1)
buckled_mob.electrocute_act(85, src, 1)
addtimer(CALLBACK(buckled_mob, /mob/living.proc/electrocute_act, 85, src, 1), 1)
visible_message("<span class='danger'>The electric chair went off!</span>", "<span class='italics'>You hear a deep sharp shock!</span>")
+1 -2
View File
@@ -19,8 +19,7 @@
/obj/structure/fireaxecabinet/Destroy()
if(fireaxe)
qdel(fireaxe)
fireaxe = null
QDEL_NULL(fireaxe)
return ..()
/obj/structure/fireaxecabinet/attackby(obj/item/I, mob/user, params)
+1 -1
View File
@@ -18,7 +18,7 @@
// flags = CONDUCT
/obj/structure/lattice/Initialize(mapload)
..()
. = ..()
for(var/obj/structure/lattice/LAT in loc)
if(LAT != src)
QDEL_IN(LAT, 0)