Skip to content

Commit

Permalink
tweak AlivePlayersDistribution
Browse files Browse the repository at this point in the history
given that activePlayersDistribution can be modified asynchronously, better to rely on startPlayersDistribution to determine if a player is "Alive"
  • Loading branch information
tra committed Jun 17, 2024
1 parent 8e59dce commit f80e867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/CNetManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ short CNetManager::SelfDistribution() {
}

short CNetManager::AlivePlayersDistribution() {
return activePlayersDistribution & ~deadOrDonePlayers;
return startPlayersDistribution & ~deadOrDonePlayers;
}

bool CNetManager::IAmAlive() {
Expand Down

0 comments on commit f80e867

Please sign in to comment.