mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-30 11:57:35 +08:00
delaying graphs to avoid duplicating
This commit is contained in:
parent
2fa01c945a
commit
2a5cab9f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -1233,7 +1233,7 @@ MP.socket.on("mp_room_user_finished", (data) => {
|
|||
let userGraph = MP.room.userGraphs[sid];
|
||||
userGraph.graph = drawMinigraph(sid, userGraph.data);
|
||||
next();
|
||||
}, 1);
|
||||
}, 50);
|
||||
});
|
||||
} else if (MP.room.userFinished) {
|
||||
MP.room.userGraphs[data.sid].graph = drawMinigraph(data.sid, data.result);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue