Update code/modules/projectiles/guns/misc/chem_gun.dm

Co-authored-by: Putnam3145 <putnam3145@gmail.com>
This commit is contained in:
shellspeed1
2021-11-12 15:22:19 -08:00
committed by GitHub
parent 329336f5ed
commit f67cf99757
@@ -52,7 +52,8 @@
return
/obj/item/gun/chem/attackby(obj/item/I, mob/living/user)
if((istype(I, /obj/item/reagent_containers/glass/bottle/vial) && vial != null))
if((istype(I, /obj/item/reagent_containers/glass/bottle/vial)))
if(vial)
if(!quickload)
to_chat(user, "<span class='warning'>[src] can not hold more than one vial!</span>")
return FALSE