portable camera GC improvements (#20287)

* portable camera GC improvements

* Oops didn't see this

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Better return structure

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
GDN
2023-01-23 16:37:55 -06:00
committed by GitHub
parent fbd4c9c98a
commit fdd51450fd
+4
View File
@@ -48,6 +48,10 @@
if(in_range(user, src) && has_camera)
. += "This helmet has a built-in camera. It's [camera ? "" : "in"]active."
/obj/item/clothing/head/helmet/space/hardsuit/ert/Destroy()
QDEL_NULL(camera)
return ..()
/obj/item/clothing/suit/space/hardsuit/ert
name = "emergency response team suit"
desc = "A suit worn by members of the Nanotrasen Emergency Response Team. Armoured, space ready, and fire resistant."