Skip to content

Commit

Permalink
Fix grown plants value
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit committed Feb 14, 2024
1 parent 56ccd13 commit 0e9a63d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/hydroponics/seed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,8 @@

/datum/seed/proc/Value(check_chems = TRUE)
. = 5
for(var/trait in traits)
for(var/trait_text in traits)
var/trait = text2num(trait_text)
var/trait_value = get_trait(trait)
if(!trait_value)
continue
Expand Down

0 comments on commit 0e9a63d

Please sign in to comment.