removed weird != null comparing
(why are you doing this??)
This commit is contained in:
1 parent
43badf4baa
commit
2c066f7b62
13 files changed
+22
-22
No files matched your search
@@ -151,7 +151,7 @@ class MapQueue implements CallbackListener, CommandListener {
|
||||
$player = $queuedMap[0];
|
||||
|
||||
//found player, so play this map
|
||||
if ($this->maniaControl->playerManager->getPlayer($player->login) != null) {
|
||||
if ($this->maniaControl->playerManager->getPlayer($player->login)) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user