Fix two bugs this time. (#5354)

-fixes #5348
-fixes the chocolate box having broken sprites
This commit is contained in:
Alberyk
2018-10-05 10:41:27 -03:00
committed by Werner
parent d9f4b82a46
commit b9ce0fea8e
2 changed files with 2 additions and 2 deletions

View File

@@ -299,7 +299,7 @@
/obj/item/weapon/storage/fancy/chocolate_box
icon = 'icons/obj/chocolate.dmi'
icon_state = "chocolatebox"
icon_type = "chocolatebox"
icon_type = "chocolate"
name = "chocolate box"
storage_slots = 8
can_hold = list(

View File

@@ -27,7 +27,7 @@ calculate text size per text.
for(var/datum/reagent/R in reagent_list)
if(!R.taste_mult)
continue
if(R.id == "nutriment") //this is ugly but apparently only nutriment (not subtypes) has taste data TODO figure out why
if(R.id == "nutriment" || R.id == "synnutriment") //this is ugly but apparently only nutriment (not subtypes) has taste data TODO figure out why
var/list/taste_data = R.get_data()
for(var/taste in taste_data)
if(taste in tastes)