From a44cfe134a811adff0679a7b6eb15a94907a018a Mon Sep 17 00:00:00 2001 From: A1m` <33463136+A1mDev@users.noreply.github.com> Date: Tue, 31 Dec 2024 03:16:25 +0700 Subject: [PATCH] Allow sending panels to SourceTV client via settings (#2239) * Allow sending panels to SourceTV client via settings * Revert "Allow sending panels to SourceTV client via settings" This reverts commit 93bb5ebda013e580d59cf9e27d2d6b09c38a0e22. * Allow menu to be sent to sourcetv client * Remove IsFakeClient check Let the plugin decide who to send the menu to --- core/MenuStyle_Base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/MenuStyle_Base.cpp b/core/MenuStyle_Base.cpp index b35142fce8..491bbe69b3 100644 --- a/core/MenuStyle_Base.cpp +++ b/core/MenuStyle_Base.cpp @@ -419,7 +419,7 @@ bool BaseMenuStyle::DoClientMenu(int client, IMenuPanel *menu, IMenuHandler *mh, time); #endif CPlayer *pPlayer = g_Players.GetPlayerByIndex(client); - if (!pPlayer || pPlayer->IsFakeClient() || !pPlayer->IsInGame()) + if (!pPlayer || !pPlayer->IsInGame()) { return false; }