From 6b62932ead15026d6f9adfcd88f63d5ff8707995 Mon Sep 17 00:00:00 2001 From: kremsy Date: Tue, 28 Jan 2014 17:06:22 +0100 Subject: [PATCH] small cleanup --- application/core/Maps/MapList.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/application/core/Maps/MapList.php b/application/core/Maps/MapList.php index ed2897df..8fcfaca8 100644 --- a/application/core/Maps/MapList.php +++ b/application/core/Maps/MapList.php @@ -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]); }