mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
team chat fix
This commit is contained in:
parent
81d4344f62
commit
830f7fe0b8
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# Released under the MIT License. See LICENSE for details.
|
# Released under the MIT License. See LICENSE for details.
|
||||||
|
|
||||||
|
|
||||||
|
from tkinter.tix import Tree
|
||||||
from .commands import NormalCommands
|
from .commands import NormalCommands
|
||||||
from .commands import Management
|
from .commands import Management
|
||||||
from .commands import Fun
|
from .commands import Fun
|
||||||
|
|
@ -110,7 +111,7 @@ def QuickAccess(msg,client_id):
|
||||||
|
|
||||||
for i in _ba.get_foreground_host_session().sessionplayers:
|
for i in _ba.get_foreground_host_session().sessionplayers:
|
||||||
if i.sessionteam and 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))
|
_ba.screenmessage(i.getname(True)+":"+msg[1:],clients=[i.inputdevice.client_id],color=(0.3,0.6,0.3),transient=True)
|
||||||
|
|
||||||
return None;
|
return None;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue