fixes medbeam bug (#20299)

This commit is contained in:
Qwertytoforty
2023-02-04 19:44:06 -05:00
committed by GitHub
parent 7450b982d1
commit 7b47ff3a67
+4
View File
@@ -30,6 +30,10 @@
..()
LoseTarget()
/obj/item/gun/medbeam/equipped(mob/user, slot, initial)
..()
LoseTarget()
/obj/item/gun/medbeam/proc/LoseTarget()
if(active)
qdel(locateUID(beam_UID))