mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
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 93bb5ebda0.
* 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:
parent
57bdd9fdb0
commit
a44cfe134a
@ -419,7 +419,7 @@ bool BaseMenuStyle::DoClientMenu(int client, IMenuPanel *menu, IMenuHandler *mh,
|
|||||||
time);
|
time);
|
||||||
#endif
|
#endif
|
||||||
CPlayer *pPlayer = g_Players.GetPlayerByIndex(client);
|
CPlayer *pPlayer = g_Players.GetPlayerByIndex(client);
|
||||||
if (!pPlayer || pPlayer->IsFakeClient() || !pPlayer->IsInGame())
|
if (!pPlayer || !pPlayer->IsInGame())
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user