Merge pull request #11332 from Ghommie/Ghommie-cit603

Replaces EXCEPTION() with stack_trace() and CRASH()
This commit is contained in:
kevinz000
2020-03-06 00:14:13 -07:00
committed by GitHub
18 changed files with 24 additions and 33 deletions
+1 -2
View File
@@ -570,8 +570,7 @@
else if (istype(W, /obj/item/stack/cable_coil) && opened)
var/turf/host_turf = get_turf(src)
if(!host_turf)
throw EXCEPTION("attackby on APC when it's not on a turf")
return
CRASH("attackby on APC when it's not on a turf")
if (host_turf.intact)
to_chat(user, "<span class='warning'>You must remove the floor plating in front of the APC first!</span>")
return