small fix

This commit is contained in:
kremsy 2014-02-09 19:33:28 +01:00 committed by Steffen Schröder
parent d763582f85
commit 727efd0372

View File

@ -351,7 +351,7 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener
}
if (!$updateData) {
$updateData = $this->checkCoreUpdate(true);
$updateData = $this->checkCoreUpdate();
if (!$updateData) {
if ($player != null) {
$this->maniaControl->chat->sendError('Update failed: No update Data available!', $player->login);