Minor ID oops

This commit is contained in:
Fermi
2019-11-20 12:28:17 +00:00
parent a0fe4c74ed
commit cac69eb158
+1 -1
View File
@@ -130,7 +130,7 @@
if(istype(I, /obj/item/reagent_containers))
var/obj/item/reagent_containers/RC = I
for(var/datum/reagent/R in RC.reagents.reagent_list)
if((!istype(R, /datum/reagent/medicine) && !(obj_flags & EMAGGED)) || (allowed(usr)))
if(!istype(R, /datum/reagent/medicine) && (!(obj_flags & EMAGGED) || (!(allowed(usr)))))
visible_message("The [src] gives out a hearty boop and rejects the [I]. The Sleeper's screen flashes with a pompous \"Medicines only, please.\"")
return
RC.reagents.trans_to(reagents, 1000)