Fix Chat::formatMessage issues after tests

This commit is contained in:
Alexander Nell
2020-06-22 04:53:31 +02:00
parent 9abadac932
commit 566f77801f
4 changed files with 36 additions and 34 deletions

View File

@ -592,8 +592,8 @@ class LocalRecordsPlugin implements CallbackListener, CallQueueListener, Command
$timeDiff = $oldRecord->time - $newRecord->time;
$message .= $this->maniaControl->getChat()->formatMessage(
' (%s%s)',
($improvedRank ? '$ff0'.$oldRecord->rank.'. ' : ''),
'-'.Formatter::formatTime($timeDiff)
($improvedRank ? '$ff0' . $oldRecord->rank . '. ' : ''),
'-' . Formatter::formatTime($timeDiff)
);
}