small cleanup

This commit is contained in:
kremsy
2014-05-01 17:35:08 +02:00
committed by Steffen Schröder
parent 51581b70cc
commit 6b62932ead
+1 -3
View File
@@ -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]);
}