Skip to content

Commit

Permalink
Merge branch 'feat/ui-win-probability' of https://github.com/Tomerxp/…
Browse files Browse the repository at this point in the history
…dotabod-backend into pr/380
  • Loading branch information
Geczy committed Dec 17, 2023
2 parents e8724a4 + 0c75752 commit 4ee13b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dota/src/dota/events/gsi-events/newdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ eventHandler.registerEvent(`newdata`, {
if (lastWinRate) {
server.io.to(dotaClient.client.token).emit('update-radiant-win-chance', {
value: lastWinRate?.winRate,
time: lastWinRate?.time,
time: lastWinRate?.time * 60, // time in seconds
})
setTimeout(() => {
server.io.to(dotaClient.client.token).emit('update-radiant-win-chance', null)
Expand Down
2 changes: 1 addition & 1 deletion packages/settings/src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const defaultSettings = {
notablePlayersOverlayFlags: true,
notablePlayersOverlayFlagsCmd: true,
winProbabilityOverlay: true,
winProbabilityOverlayIntervalMinutes: 10,
winProbabilityOverlayIntervalMinutes: 5,
tellChatNewMMR: true,
tellChatBets: true,
queueBlocker: false,
Expand Down

0 comments on commit 4ee13b1

Please sign in to comment.