src/game.c

changeset 104
0f69fe56a4cd
parent 100
685af47592b5
--- 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;

mercurial