New opt-in feature for less stalemates in CA when round timer runs out
New opt-in less stalemates feature which rewards more round wins when round timer runs out and it is enabled.
New cvar: g_ca_prevent_stalemate 0|1
First the amount of players alive in each team is checked, if there is a single highest then that team wins the round.
If two teams have the same amount of players then their total health counts are calculated and compared.
If there is the same amount of players and total health in the 2 top teams then it's still a stalemate.
Note: as !1022 (merged) changes AvailableTeams() to AVAILABLE_TEAMS these two merge requests "conflict" and cause a compile failure if both are merged without changes. I'll try to update this MR's contents ASAP when that branch is merged to master to solve the conflict as I doubt that this would be merged faster than it.
If there is need maybe there can be current console prints and new HUD notifications about stalemate deciding information
up to date console prints: