From f8ccf6cdf3eeb37928fbc7d34de6f3ddd7b77101 Mon Sep 17 00:00:00 2001 From: FalloutFalcon Date: Fri, 25 Oct 2024 10:09:51 -0500 Subject: [PATCH] yea --- code/modules/overmap/objects/dynamic_datum.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/overmap/objects/dynamic_datum.dm b/code/modules/overmap/objects/dynamic_datum.dm index 4c895f20e494..36f1db6f179c 100644 --- a/code/modules/overmap/objects/dynamic_datum.dm +++ b/code/modules/overmap/objects/dynamic_datum.dm @@ -150,7 +150,7 @@ preserve_level = planet.preserve_level //it came to me while I was looking at chickens // use the ruin type in template if it exists, or pick from ruin list if IT exists; otherwise null - selected_ruin = template || (ruin_type ? pickweightAllowZero(SSmapping.ruin_types_probabilities[ruin_type]) : null) + selected_ruin = template || (ruin_type ? pick_weight_allow_zero(SSmapping.ruin_types_probabilities[ruin_type]) : null) var/datum/map_template/ruin/used_ruin = ispath(selected_ruin) ? (new selected_ruin()) : selected_ruin if(istype(used_ruin)) for(var/mission_type in used_ruin.dynamic_mission_types)