mirror of
https://github.com/CDAGaming/blizzget
synced 2025-04-21 02:51:56 +03:00
Fix crash when parsing ID in versions file
This commit is contained in:
parent
933c223785
commit
a1096169a7
@ -58,8 +58,8 @@ namespace NGDP {
|
||||
auto& config = versions_[parts[0]];
|
||||
config.build = parts[1];
|
||||
config.cdn = parts[2];
|
||||
config.id = std::stoi(parts[3]);
|
||||
config.version = parts[4];
|
||||
config.id = std::stoi(parts[4]);
|
||||
config.version = parts[5];
|
||||
if (cdns_.count(parts[0])) {
|
||||
regions_.push_back(parts[0]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user