Merge pull request #684 from DragonTrance/kudzu-fix

Kudzu/Spacevine fix
This commit is contained in:
Dahlular
2020-11-19 23:19:19 -07:00
committed by GitHub
+3 -3
View File
@@ -387,9 +387,9 @@
init_subtypes(/datum/spacevine_mutation/, vine_mutations_list)
if(potency != null)
mutativeness = potency / 10
if(production != null)
spread_cap *= production / 5
spread_multiplier /= production / 5
if(production != null && production <= 10) //Prevents runtime in case production is set to 11.
spread_cap *= (11 - production) / 5 //Best production speed of 1 doubles spread_cap to 60 while worst speed of 10 lowers it to 6. Even distribution.
spread_multiplier /= (11 - production) / 5
/datum/spacevine_controller/vv_get_dropdown()
. = ..()