Skip to content

Commit

Permalink
deleted all isDefined from player menu
Browse files Browse the repository at this point in the history
  • Loading branch information
itacentury committed May 29, 2020
1 parent 9e185d9 commit da9d79f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions maps/mp/gametypes/_clientids.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,11 @@ buildMenu()
continue;
}

if (isDefined(player_name) && isAlive(player))
if (isAlive(player))
{
self addMenu(m, player_name, name + " (Alive)");
}
else if (isDefined(player_name) && !isAlive(player))
else if (!isAlive(player))
{
self addMenu(m, player_name, name + " (Dead)");
}
Expand Down Expand Up @@ -450,11 +450,11 @@ buildMenu()
{
m = "PlayerFriendly";

if(isDefined(player_name) && isAlive(player))
if(isAlive(player))
{
self addMenu(m, player_name, name + " (Alive)");
}
else if(isDefined(player_name) && !isAlive(player))
else if(!isAlive(player))
{
self addMenu(m, player_name, name + " (Dead)");
}
Expand All @@ -463,11 +463,11 @@ buildMenu()
{
m = "PlayerEnemy";

if (isDefined(player_name) && isAlive(player))
if (isAlive(player))
{
self addMenu(m, player_name, name + " (Alive)");
}
else if (isDefined(player_name) && !isAlive(player))
else if (!isAlive(player))
{
self addMenu(m, player_name, name + " (Dead)");
}
Expand Down

0 comments on commit da9d79f

Please sign in to comment.