Skip to content

Commit 9596210

Browse files
committed
feat(roundtime): avoid variable countdown by not refreshing for server prompt events
1 parent c1aeac8 commit 9596210

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

electron/renderer/components/game/game-roundtime.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ export const GameRoundTime: React.FC<GameRoundTimeProps> = (
123123
switch (gameEvent.type) {
124124
case GameEventType.SERVER_TIME:
125125
serverTimeRef.current = gameEvent.time;
126-
calculateRoundTimes();
127126
break;
128127
case GameEventType.ROUND_TIME:
129128
roundTimeRef.current = gameEvent.time;

0 commit comments

Comments
 (0)