Browse Source

apparently theres only 5 forest1s

pbs
jake 5 years ago
parent
commit
ae9fdce663
  1. 2
      src/ship/map.rs

2
src/ship/map.rs

@ -404,7 +404,7 @@ impl MapVariant {
let minor = match map { let minor = match map {
MapVariantType::Pioneer2Ep1 => 0, MapVariantType::Pioneer2Ep1 => 0,
MapVariantType::Forest1 => rand::thread_rng().gen_range(0, 6),
MapVariantType::Forest1 => rand::thread_rng().gen_range(0, 5),
MapVariantType::Forest2 => rand::thread_rng().gen_range(0, 5), MapVariantType::Forest2 => rand::thread_rng().gen_range(0, 5),
MapVariantType::Caves1 | MapVariantType::Caves2 | MapVariantType::Caves3 => rand::thread_rng().gen_range(0, 2), MapVariantType::Caves1 | MapVariantType::Caves2 | MapVariantType::Caves3 => rand::thread_rng().gen_range(0, 2),
MapVariantType::Mines1 | MapVariantType::Mines2 => rand::thread_rng().gen_range(0, 2), MapVariantType::Mines1 | MapVariantType::Mines2 => rand::thread_rng().gen_range(0, 2),

Loading…
Cancel
Save