Skip to content

Commit

Permalink
Allow sending panels to SourceTV client via settings (#2239)
Browse files Browse the repository at this point in the history
* Allow sending panels to SourceTV client via settings

* Revert "Allow sending panels to SourceTV client via settings"

This reverts commit 93bb5eb.

* Allow menu to be sent to sourcetv client

* Remove IsFakeClient check

Let the plugin decide who to send the menu to
  • Loading branch information
A1mDev authored Dec 30, 2024
1 parent 57bdd9f commit a44cfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/MenuStyle_Base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a44cfe1

Please sign in to comment.