From b591f06736bae2e4d4614cb852c31cf5d2c86388 Mon Sep 17 00:00:00 2001 From: Tater Date: Tue, 26 Nov 2024 22:27:57 -0600 Subject: [PATCH] Fix max indicator distance setting --- src/game/client/components/menus_settings.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 685a48e1130..959fe3b2393 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -3488,9 +3488,7 @@ void CMenus::RenderSettingsTClient(CUIRect MainView) Column.HSplitTop(LineSize, &Button, &Column); Ui()->DoScrollbarOption(&g_Config.m_ClIndicatorOffsetMax, &g_Config.m_ClIndicatorOffsetMax, &Button, Localize("Indicator max offset"), 16, 200); Column.HSplitTop(LineSize, &Button, &Column); - int Value = g_Config.m_ClIndicatorMaxDistance * 50; - Ui()->DoScrollbarOption(&g_Config.m_ClIndicatorMaxDistance, &Value, &Button, Localize("Indicator max distance"), 500, 7000); - g_Config.m_ClIndicatorMaxDistance = Value / 50; + Ui()->DoScrollbarOption(&g_Config.m_ClIndicatorMaxDistance, &g_Config.m_ClIndicatorMaxDistance, &Button, Localize("Indicator max distance"), 500, 7000); } else {