Replaced 0 for container_type with NONE define

This commit is contained in:
shizcalev
2017-08-23 17:19:52 -04:00
parent 0a530cff9c
commit 892fc79c6b
3 changed files with 3 additions and 3 deletions
@@ -341,7 +341,7 @@
name = "soda can"
lefthand_file = 'icons/mob/inhands/misc/food_lefthand.dmi'
righthand_file = 'icons/mob/inhands/misc/food_righthand.dmi'
container_type = 0
container_type = NONE
spillable = FALSE
/obj/item/reagent_containers/food/drinks/soda_cans/attack(mob/M, mob/user)
@@ -88,7 +88,7 @@
..()
if(!iscyborg(user))
reagents.maximum_volume = 0 //Makes them useless afterwards
container_type = 0
container_type = NONE
update_icon()
spawn(80)
if(iscyborg(user) && !reagents.total_volume)