mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Forgot the .len
This commit is contained in:
@@ -208,7 +208,7 @@
|
||||
product_count = clamp(round(product_count/2),0,5)
|
||||
while(t_amount < product_count)
|
||||
var/obj/item/reagent_containers/food/snacks/grown/t_prod
|
||||
if(instability >= 30 && prob(instability/3) && mutatelist)
|
||||
if(instability >= 30 && prob(instability/3) && mutatelist.len)
|
||||
var/obj/item/seeds/new_prod = pick(mutatelist)
|
||||
t_prod = initial(new_prod.product)
|
||||
if(t_prod)
|
||||
|
||||
Reference in New Issue
Block a user