mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
fixed team chat
This commit is contained in:
parent
9ef18ad19a
commit
1d181ecb5e
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ def QuickAccess(msg,client_id):
|
|||
teamid=i.sessionteam.id
|
||||
|
||||
for i in _ba.get_foreground_host_session().sessionplayers:
|
||||
if teamid==i.sessionteam.id and i.inputdevice.client_id!=client_id:
|
||||
if i.sessionteam and teamid==i.sessionteam.id and i.inputdevice.client_id!=client_id:
|
||||
_ba.screenmessage(i.getname(True)+":"+msg[1:],clients=[i.inputdevice.client_id],color=(0.3,0.6,0.3))
|
||||
|
||||
return None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue