From 7abad2b8a4187cc086c32335efd162eb314e1bbd Mon Sep 17 00:00:00 2001 From: Ewan Green Date: Mon, 2 Sep 2024 13:23:24 -0600 Subject: [PATCH] make reconnect screen count down from 5-1 instead of 4-0 --- src/game/client/components/menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index c0f3792f3..483db0251 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1208,7 +1208,7 @@ void CMenus::RenderPopupFullscreen(CUIRect Screen) pButtonText = Localize("Ok"); if(Client()->ReconnectTime() > 0) { - str_format(aBuf, sizeof(aBuf), Localize("Reconnect in %d sec"), (int)((Client()->ReconnectTime() - time_get()) / time_freq())); + str_format(aBuf, sizeof(aBuf), Localize("Reconnect in %d sec"), (int)((Client()->ReconnectTime() - time_get()) / time_freq()) + 1); pTitle = Client()->ErrorString(); pExtraText = aBuf; pButtonText = Localize("Abort");