Unfuckies pod blood (#72323)

I broke it in #72220
Thanks to @Fikou for catching this
list(variable = 0.1) doesnt work on byond, so I last-minute improvised
and changed it to
list("[variable]" = 0.1), using a string instead of a typepath. I
already tested it thoroughly so decided it was probably good without
thinking of it anymore

🆑
fix: fixes pod blood I swear
/🆑

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
Time-Green
2022-12-30 00:54:58 +01:00
committed by GitHub
co-authored by Fikou
parent 95de0491a1
commit a9d530dc71
+3 -2
View File
@@ -205,10 +205,11 @@
podman.set_cloned_appearance()
//Get the most plentiful reagent, if there's none: get water
var/most_plentiful_reagent = list(/datum/reagent/water = 0)
var/list/most_plentiful_reagent = list(/datum/reagent/water = 0)
for(var/reagent in reagents_add)
if(reagents_add[reagent] > most_plentiful_reagent[most_plentiful_reagent[1]])
most_plentiful_reagent = list("[reagent]" = reagents_add[reagent])
most_plentiful_reagent.Cut()
most_plentiful_reagent[reagent] = reagents_add[reagent]
podman.dna.species.exotic_blood = most_plentiful_reagent[1]
investigate_log("[key_name(mind)] cloned as a podman via [src] in [parent]", INVESTIGATE_BOTANY)