support non-BB rare enemy generation logic

This commit is contained in:
Martin Michelsen
2024-01-03 23:27:06 -08:00
parent fccc0f7346
commit e13b220be9
4 changed files with 26 additions and 6 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ void Lobby::create_item_creator() {
}
void Lobby::load_maps() {
this->map = make_shared<Map>(this->lobby_id, this->random_crypt);
this->map = make_shared<Map>(this->base_version, this->lobby_id, this->random_crypt);
auto rare_rates = ((this->base_version == Version::BB_V4) && this->rare_enemy_rates)
? this->rare_enemy_rates