fix port name in game server lookup

This commit is contained in:
Martin Michelsen
2026-04-25 22:21:46 -07:00
parent 75e7232096
commit 7f68d41bac
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ uint16_t ServerState::game_server_port_for_version(Version v) const {
case Version::XB_V3:
return this->name_to_port_config.at("xb")->port;
case Version::BB_V4:
return this->name_to_port_config.at("xb")->port;
return this->name_to_port_config.at("bb-data1")->port;
default:
throw runtime_error("unknown version");
}