Fixes a floor thing (#21962)

This commit is contained in:
Henri215
2023-08-10 16:18:53 -03:00
committed by GitHub
parent cdef637e7f
commit 8eaba9f40f
@@ -414,8 +414,9 @@
to_chat(cyborg, "<span class='notice'>The floor buffer is now [cyborg.floorbuffer ? "active" : "deactivated"].</span>")
/obj/item/borg/upgrade/floorbuffer/Destroy()
cyborg.floorbuffer = FALSE
cyborg = null
if(cyborg)
cyborg.floorbuffer = FALSE
cyborg = null
return ..()
/obj/item/borg/upgrade/bluespace_trash_bag