fixed attack and analyser

This commit is contained in:
noah the goodra
2019-02-17 15:48:58 -06:00
parent 7bf81abef7
commit ad400d1a73
2 changed files with 8 additions and 6 deletions
+7 -6
View File
@@ -100,9 +100,10 @@
return 0
else
return 0
else return 0
//else if ((istype(W, /obj/item/device/analyzer)) && Adjacent(user))
// var/obj/item/device/analyzer/A = W
// A.analyze_gases(src, user)
// return 1
//return 0
else if ((istype(W, /obj/item/device/analyzer)) && Adjacent(user))
var/obj/item/device/analyzer/A = W
A.analyze_gases(src, user)
return 1
return 0
/mob/proc/atmosanalyze(var/mob/user)
return atmosanalyzer_scan(src, src.air_contents, user)