From 10745ba6c7f5a256d3218baaf606413dfe260845 Mon Sep 17 00:00:00 2001 From: Tater Date: Sun, 5 Jan 2025 00:37:22 -0600 Subject: [PATCH] fix open font folder location --- src/game/client/components/tclient/menus_tclient.cpp | 6 +++--- src/game/client/gameclient.cpp | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/game/client/components/tclient/menus_tclient.cpp b/src/game/client/components/tclient/menus_tclient.cpp index 71236f75ed9..53c5707af35 100644 --- a/src/game/client/components/tclient/menus_tclient.cpp +++ b/src/game/client/components/tclient/menus_tclient.cpp @@ -630,9 +630,9 @@ void CMenus::RenderSettingsTClientSettngs(CUIRect MainView) static CButtonContainer s_FontDirectoryId; if(DoButton_FontIcon(&s_FontDirectoryId, FONT_ICON_FOLDER, 0, &FontDirectory, IGraphics::CORNER_ALL)) { - Storage()->CreateFolder("tclient", IStorage::TYPE_ABSOLUTE); - Storage()->CreateFolder("tclient/fonts", IStorage::TYPE_ABSOLUTE); - Client()->ViewFile("tclient/fonts"); + Storage()->CreateFolder("data/tclient", IStorage::TYPE_ABSOLUTE); + Storage()->CreateFolder("data/tclient/fonts", IStorage::TYPE_ABSOLUTE); + Client()->ViewFile("data/tclient/fonts"); } Column.HSplitTop(MarginExtraSmall, nullptr, &Column); diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index abf52c00b4b..58cd0a43bc6 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -3784,6 +3784,7 @@ vec2 CGameClient::GetFreezePos(int ClientId) } return Pos; } + void CGameClient::Echo(const char *pString) { m_Chat.Echo(pString);