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