Fri, 17 Apr 2026 12:40:47 +0200
fix that the clock is not redrawn when receiving TIMEOVER command
fixes #819
| src/game.c | file | annotate | diff | comparison | revisions |
--- a/src/game.c Fri Apr 17 12:24:03 2026 +0200 +++ b/src/game.c Fri Apr 17 12:40:47 2026 +0200 @@ -406,8 +406,8 @@ Move move; switch (code) { case NETCODE_TIMEOVER: - printw("\rYour opponent's time ran out - you win!"); - clrtoeol(); + /* redraw the time control */ + timecontrol(gamestate, gameinfo); return 1; case NETCODE_RESIGN: gamestate->resign = 1;