removed weird != null comparing
(why are you doing this??)
This commit is contained in:
1 parent
43badf4baa
commit
2c066f7b62
13 files changed
+22
-22
No files matched your search
@@ -774,7 +774,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer
|
||||
$this->playersListShown[$login] = false;
|
||||
}
|
||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||
if ($player != null) {
|
||||
if ($player) {
|
||||
$this->showPlayerList($player);
|
||||
} else {
|
||||
// if player with the open widget disconnected remove him from the shownlist
|
||||
|
||||
Reference in new issue
Block a user