diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm
index 60beb105dce..9a7297d485c 100644
--- a/code/game/machinery/camera/camera.dm
+++ b/code/game/machinery/camera/camera.dm
@@ -128,18 +128,7 @@
var/msg = "You attach [I] into the assembly inner circuits."
var/msg2 = "The camera already has that upgrade!"
- if(istype(I, /obj/item/analyzer) && panel_open) //XRay
- if(!user.drop_item())
- to_chat(user, "[I] is stuck to your hand!")
- return
- if(!isXRay())
- upgradeXRay()
- qdel(I)
- to_chat(user, "[msg]")
- else
- to_chat(user, "[msg2]")
-
- else if(istype(I, /obj/item/stack/sheet/mineral/plasma) && panel_open)
+ if(istype(I, /obj/item/stack/sheet/mineral/plasma) && panel_open)
if(!user.drop_item())
to_chat(user, "[I] is stuck to your hand!")
return