From da9d79f850d8c0897db40635c2cd45b7d425b85b Mon Sep 17 00:00:00 2001 From: CenTurY Date: Fri, 29 May 2020 13:32:18 +0200 Subject: [PATCH] deleted all isDefined from player menu --- maps/mp/gametypes/_clientids.gsc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maps/mp/gametypes/_clientids.gsc b/maps/mp/gametypes/_clientids.gsc index 89ef9fe..ef64628 100644 --- a/maps/mp/gametypes/_clientids.gsc +++ b/maps/mp/gametypes/_clientids.gsc @@ -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)"); } @@ -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)"); } @@ -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)"); }