Skip to content

Commit 1935c1f

Browse files
committed
Duplicate update. Fixed export of new players.
1 parent 4e71c3f commit 1935c1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ int main(int argc, char* argv[])
7676
connection.addDuplicates(67596, { 36814 });
7777
connection.addDuplicates(69904, { 73057, 75285, 78280});
7878
connection.addDuplicates(60828, { 77657, 74819});
79+
connection.addDuplicates(65311, { 81488 });
7980
connection.removeDuplicate(56589);
8081
connection.removeDuplicate(6026);
8182

players.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ void Players::exportNewPlayers(const std::filesystem::path &directory, gamemodes
613613
jsonPlayer[factions::shortName(faction) + "_elo"] = std::to_string(static_cast<int>(player->elo(faction)));
614614
std::ostringstream oss;
615615
oss << std::fixed << std::setprecision(1) << player->deviation(faction);
616-
jsonPlayer["deviation"] = oss.str();
616+
jsonPlayer[factions::shortName(faction) + "_deviation"] = oss.str();
617617
jsonPlayer[factions::shortName(faction) + "_games"] = player->gameCount(faction);
618618
}
619619
}

0 commit comments

Comments
 (0)