diff --git a/killproof_me/KillproofUITable.cpp b/killproof_me/KillproofUITable.cpp index b8c16b2..e660e55 100644 --- a/killproof_me/KillproofUITable.cpp +++ b/killproof_me/KillproofUITable.cpp @@ -249,9 +249,9 @@ void KillproofUITable::Sort(const ImGuiTableColumnSortSpecs* mColumnSortSpecs) { uint8_t playerBGroup = cachedPlayers.at(playerBName).subgroup; if (descend) { - return playerAGroup < playerBGroup; + return playerAGroup > playerBGroup; } - return playerAGroup > playerBGroup; + return playerAGroup < playerBGroup; }); return; } diff --git a/killproof_me/dllmain.cpp b/killproof_me/dllmain.cpp index 13af87c..3306e8f 100644 --- a/killproof_me/dllmain.cpp +++ b/killproof_me/dllmain.cpp @@ -520,10 +520,7 @@ void squad_update_callback(const UserInfo* updatedUsers, size_t updatedUsersCoun // add to tracking // addPlayerTracking(username); - if (!addPlayerAll(username)) { - // player already tracked, do nothing - continue; - } + addPlayerAll(username); auto playerIt = cachedPlayers.find(username); if (playerIt == cachedPlayers.end()) {