fixes magnetic grippers sucking up light-tubes (#22931)

This commit is contained in:
GDN
2023-10-20 14:13:40 -05:00
committed by GitHub
parent a5a298a451
commit dccd536ee7

View File

@@ -151,6 +151,7 @@
var/obj/machinery/light/light = target
var/obj/item/light/L = light.drop_light_tube()
L.forceMove(src)
gripped_item = L
user.visible_message("<span class='notice'>[user] removes the light from the fixture.</span>", "<span class='notice'>You dislodge the light from the fixture.</span>")
return TRUE