Skip to content

Commit 542e34a

Browse files
committed
Remove bad conversion of timeout time
1 parent 8efb339 commit 542e34a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/MatchStatus.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ const isTimeout = computed(() => {
120120
121121
const timeoutTime = computed(() => {
122122
if (refereeStore.refereeMsg.command === Referee_Command.TIMEOUT_BLUE) {
123-
return (refereeStore.refereeMsg.blue?.timeoutTime || 0) * 1000 // Convert to microseconds
123+
return refereeStore.refereeMsg.blue?.timeoutTime || 0
124124
} else if (refereeStore.refereeMsg.command === Referee_Command.TIMEOUT_YELLOW) {
125-
return (refereeStore.refereeMsg.yellow?.timeoutTime || 0) * 1000 // Convert to microseconds
125+
return refereeStore.refereeMsg.yellow?.timeoutTime || 0
126126
}
127127
return 0
128128
})

0 commit comments

Comments
 (0)