moving some returns around (#19591)

This commit is contained in:
Sirryan2002
2022-11-03 17:55:47 +00:00
committed by GitHub
parent d270ba10d6
commit 8dd4fe61be
+3 -3
View File
@@ -424,7 +424,7 @@
to_chat(user, "<span class='notice'>Your [I.name] tears though the last of the reinforced plating.</span>")
dismantle_wall()
visible_message("<span class='warning'>[user] drills through [src]!</span>", "<span class='warning'>You hear the grinding of metal.</span>")
return TRUE
return TRUE
else if(istype(I, /obj/item/pickaxe/drill/jackhammer))
to_chat(user, "<span class='notice'>You begin to disintegrates the wall.</span>")
@@ -433,7 +433,7 @@
to_chat(user, "<span class='notice'>Your [I.name] disintegrates the reinforced plating.</span>")
dismantle_wall()
visible_message("<span class='warning'>[user] disintegrates [src]!</span>","<span class='warning'>You hear the grinding of metal.</span>")
return TRUE
return TRUE
else if(istype(I, /obj/item/twohanded/required/pyro_claws))
to_chat(user, "<span class='notice'>You begin to melt the wall.</span>")
@@ -442,7 +442,7 @@
to_chat(user, "<span class='notice'>Your [I.name] melts the reinforced plating.</span>")
dismantle_wall()
visible_message("<span class='warning'>[user] melts [src]!</span>","<span class='warning'>You hear the hissing of steam.</span>")
return TRUE
return TRUE
return FALSE
/turf/simulated/wall/proc/try_wallmount(obj/item/I, mob/user, params)