From 892fc79c6b7936b5e6a516c1357ec83ccd3f04fd Mon Sep 17 00:00:00 2001 From: shizcalev Date: Wed, 23 Aug 2017 17:19:52 -0400 Subject: [PATCH] Replaced 0 for container_type with NONE define --- code/game/atoms.dm | 2 +- code/modules/food_and_drinks/drinks/drinks.dm | 2 +- code/modules/reagents/reagent_containers/hypospray.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 03db8f1ed0a..afdfe056521 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -6,7 +6,7 @@ var/flags_1 = 0 var/flags_2 = 0 - var/container_type = 0 + var/container_type = NONE var/admin_spawned = 0 //was this spawned by an admin? used for stat tracking stuff. var/datum/reagents/reagents var/datum/forensics/forensics diff --git a/code/modules/food_and_drinks/drinks/drinks.dm b/code/modules/food_and_drinks/drinks/drinks.dm index 481626931b7..59c1413226e 100644 --- a/code/modules/food_and_drinks/drinks/drinks.dm +++ b/code/modules/food_and_drinks/drinks/drinks.dm @@ -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) diff --git a/code/modules/reagents/reagent_containers/hypospray.dm b/code/modules/reagents/reagent_containers/hypospray.dm index eef96bc989a..13475ea613d 100644 --- a/code/modules/reagents/reagent_containers/hypospray.dm +++ b/code/modules/reagents/reagent_containers/hypospray.dm @@ -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)