From 1d14fcc1704c593e8c9b52216c828cad3140a0bb Mon Sep 17 00:00:00 2001 From: geneotech Date: Sun, 11 Aug 2024 01:03:10 +0200 Subject: [PATCH] RANKED MATCH ENDED -> MATCH ENDED --- docs/pages/todo/todo_done.md | 2 ++ src/view/mode_gui/arena/arena_mode_gui.cpp | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/pages/todo/todo_done.md b/docs/pages/todo/todo_done.md index 4bada8196..3295f2076 100644 --- a/docs/pages/todo/todo_done.md +++ b/docs/pages/todo/todo_done.md @@ -7336,3 +7336,5 @@ This will discard your redo history." - unbind f1 and f3 on web cause someone might do it accidentally +- use disjoint port ranges for web, or just use muxing and successive ports +- fix 'RANKED MATCH ENDED' diff --git a/src/view/mode_gui/arena/arena_mode_gui.cpp b/src/view/mode_gui/arena/arena_mode_gui.cpp index a3d99d86d..dfa2b89d5 100644 --- a/src/view/mode_gui/arena/arena_mode_gui.cpp +++ b/src/view/mode_gui/arena/arena_mode_gui.cpp @@ -1296,10 +1296,18 @@ void arena_gui_state::draw_mode_gui( draw_warmup_indicator(first, second); } else { - draw_warmup_indicator( - larger_colored("RANKED MATCH ENDED.", white), - secs_left_text - ); + if (is_ranked_server) { + draw_warmup_indicator( + larger_colored("RANKED MATCH ENDED.", white), + secs_left_text + ); + } + else { + draw_warmup_indicator( + larger_colored("MATCH ENDED.", white), + secs_left_text + ); + } } } else {