rename default_map_variants
This commit is contained in:
		
							parent
							
								
									33b80d7235
								
							
						
					
					
						commit
						bbaf39fa0b
					
				| @ -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<MapVariant> { | ||||
| pub fn default_map_variants(episode: Episode, player_mode: PlayerMode) -> Vec<MapVariant> { | ||||
|     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| { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user