diff --git a/application/ManiaControl.php b/application/ManiaControl.php index 78416c92..1ea4617b 100644 --- a/application/ManiaControl.php +++ b/application/ManiaControl.php @@ -1,15 +1,16 @@ mapQueue->removeFromMapQueue($admin, $map->uid); - if ($map->mx != null) { + if ($map->mx) { $this->mxManager->unsetMap($map->mx->id); }