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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user