engine: server: fix voice block inverted logic, instead of checking the player's we're sending listeners list, check current player

This commit is contained in:
Alibek Omarov
2025-09-03 03:51:15 +05:00
parent 5106ebae58
commit 1ba45bde13

View File

@@ -3570,7 +3570,7 @@ static void SV_ParseVoiceData( sv_client_t *cl, sizebuf_t *msg )
if( cur->state < cs_connected )
continue;
if( !FBitSet( cur->listeners, BIT( client )))
if( !FBitSet( cl->listeners, BIT( i )))
continue;
}