mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-31 06:56:12 +02:00
Fix bug reported by user before I forget
This commit is contained in:
parent
2a93de9487
commit
5aaf568ed5
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ function trackDoorRunBegin(client, doorTag) {
|
|||
}
|
||||
|
||||
function trackDoorRunEnd(trackInfo) {
|
||||
if (!trackInfo) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { startTime, client, doorTag } = trackInfo;
|
||||
|
||||
const diff = moment.duration(moment().diff(startTime));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue