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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user