Skip to content

Commit

Permalink
yea
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Oct 25, 2024
1 parent 8cc5089 commit f8ccf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/overmap/objects/dynamic_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8ccf6c

Please sign in to comment.