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
This commit is contained in:
A1m`
2024-12-30 20:16:25 +00:00
committed by GitHub
parent 57bdd9fdb0
commit a44cfe134a
+1 -1
View File
@@ -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;
}