removed weird != null comparing
(why are you doing this??)
This commit is contained in:
@ -566,7 +566,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
foreach($this->mapListShown as $login => $shown) {
|
||||
if ($shown) {
|
||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||
if ($player != null) {
|
||||
if ($player) {
|
||||
$this->showMapList($player);
|
||||
} else {
|
||||
unset($this->mapListShown[$login]);
|
||||
|
Reference in New Issue
Block a user