From 28573946d77418d4a86a99c5555b85d04d677057 Mon Sep 17 00:00:00 2001
From: Varghh <26222480+Varghh@users.noreply.github.com>
Date: Tue, 3 Nov 2020 16:12:00 -0300
Subject: [PATCH] Xray Cameras is now malf only
---
code/game/machinery/camera/camera.dm | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
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