Fix duplicate results from analyzing some objects (#7660)

This commit is contained in:
Meghan-Rossi
2020-09-20 12:17:40 +01:00
committed by VirgoBot
parent e700936b20
commit cbfd4789d7
6 changed files with 8 additions and 18 deletions
@@ -110,10 +110,6 @@
update_icon()
return
if(istype(W, /obj/item/device/analyzer))
var/obj/item/device/analyzer/A = W
A.analyze_gases(src, user)
return
..()
return
@@ -120,9 +120,6 @@ var/list/global/tank_gauge_cache = list()
if (istype(src.loc, /obj/item/assembly))
icon = src.loc
if ((istype(W, /obj/item/device/analyzer)) && get_dist(user, src) <= 1)
var/obj/item/device/analyzer/A = W
A.analyze_gases(src, user)
else if (istype(W,/obj/item/latexballon))
var/obj/item/latexballon/LB = W
LB.blow(src)