From b70fc395713d5219c3a1e1b1decede7a347f5997 Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Wed, 19 Oct 2022 20:18:43 +0200 Subject: [PATCH] fix skin click ptr --- src/game/client/components/menus_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index e5275ca62..17cbf4ddb 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -836,7 +836,7 @@ void CMenus::RenderSettingsTee(CUIRect MainView) RenderFavIcon(FavIcon, IsFav); } } - if(UI()->DoButtonLogic(pSkinToBeDraw->GetName(), 0, &FavIcon)) + if(UI()->DoButtonLogic(&pSkinToBeDraw->m_Metrics.m_Body, 0, &FavIcon)) { if(IsFav) {