diff --git a/src/ship/map/maps.rs b/src/ship/map/maps.rs index 94d2193..05c7e29 100644 --- a/src/ship/map/maps.rs +++ b/src/ship/map/maps.rs @@ -173,7 +173,7 @@ fn enemy_data_from_map_data(map_variant: &MapVariant, episode: &Episode) -> Vec< } -fn map_variants(episode: Episode, player_mode: PlayerMode) -> Vec { +pub fn default_map_variants(episode: Episode, player_mode: PlayerMode) -> Vec { match (episode, player_mode) { (Episode::One, PlayerMode::Multi) => { vec![MapVariant::new(MapArea::Pioneer2Ep1, MapVariantMode::Online), @@ -360,7 +360,7 @@ impl Maps { pub fn generate_free_roam_maps(room_mode: RoomMode, event: ShipEvent) -> Maps { let rare_monster_table = RareMonsterAppearTable::new(room_mode.episode()); - let map_variants = map_variants(room_mode.episode(), room_mode.player_mode()); + let map_variants = default_map_variants(room_mode.episode(), room_mode.player_mode()); Maps { enemy_data: map_variants.iter() .flat_map(|map_variant| {