Skip to content

Commit

Permalink
Fixes nutriment on_merge runtime. (#845)
Browse files Browse the repository at this point in the history
Update food.dm
  • Loading branch information
Helg2 authored Dec 19, 2024
1 parent 7697d94 commit ed64831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/reagents/reagents/food.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
// where all the ratio values adds up to 1

var/list/taste_amounts = list()
if(data)
if(length(data))
taste_amounts = data.Copy()

counterlist_scale(taste_amounts, volume)
Expand Down

0 comments on commit ed64831

Please sign in to comment.