Merge pull request #9955 from variableundefined/FixReagent

Fix reagent dispenser getting attack cooldown
This commit is contained in:
tigercat2000
2018-10-23 17:06:43 -07:00
committed by GitHub
+1 -1
View File
@@ -13,9 +13,9 @@
var/lastrigger = "" // The last person to rig this fuel tank - Stored with the object. Only the last person matter for investigation
/obj/structure/reagent_dispensers/attackby(obj/item/I, mob/user, params)
. = ..()
if(I.is_refillable())
return FALSE //so we can refill them via their afterattack.
. = ..()
/obj/structure/reagent_dispensers/New()
create_reagents(tank_volume)