mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
fix chat timestamps
This commit is contained in:
parent
5e3e9d5ab7
commit
5a5d2205f1
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class Parser {
|
|||
foreach ($data['chat'] as $message) {
|
||||
if (isset($message['from'])) {
|
||||
$chat[] = new ChatMessage($message['from'],
|
||||
(int) floor(($message['tick'] - $data['startTick']) * $intervalPerTick), $message['text']);
|
||||
(int) floor($message['tick'] * $intervalPerTick), $message['text']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue