mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
fix !hide & your own csgo footsteps
This commit is contained in:
parent
5b522d31c5
commit
dee57b2c3d
@ -3686,7 +3686,7 @@ public Action NormalSound(int clients[MAXPLAYERS], int &numClients, char sample[
|
||||
{
|
||||
for(int i = 0; i < numClients; ++i)
|
||||
{
|
||||
if(!IsValidClient(clients[i]) || (gB_Hide[clients[i]] && GetSpectatorTarget(clients[i]) != entity))
|
||||
if(!IsValidClient(clients[i]) || (clients[i] != entity && gB_Hide[clients[i]] && GetSpectatorTarget(clients[i]) != entity))
|
||||
{
|
||||
for (int j = i; j < numClients-1; j++)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user