1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-30 09:00:31 -05:00

Change every instance of countplayers() to get_players().size

This commit is contained in:
Jbleezy
2023-12-27 02:27:47 -08:00
parent 61c5ff605f
commit 4857c62b8e
2 changed files with 3 additions and 3 deletions

View File

@ -418,8 +418,8 @@ do_team_change()
{
if (!level.allow_teamchange)
{
teamplayers = countplayers(self.pers["team"]);
otherteamplayers = countplayers(getotherteam(self.pers["team"]));
teamplayers = get_players(self.pers["team"]).size;
otherteamplayers = get_players(getotherteam(self.pers["team"])).size;
if (teamplayers - 1 <= otherteamplayers)
{