small cleanup
This commit is contained in:
parent
51581b70cc
commit
6b62932ead
@ -543,9 +543,7 @@ class MapList implements ManialinkPageAnswerListener, CallbackListener {
|
||||
if ($shown) {
|
||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||
if ($player != null) {
|
||||
if ($shown) {
|
||||
$this->showMapList($player);
|
||||
}
|
||||
$this->showMapList($player);
|
||||
} else {
|
||||
unset($this->mapListShown[$login]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user