team chat fix

This commit is contained in:
Ayush Saini 2022-05-05 23:31:28 +05:30
parent 81d4344f62
commit 830f7fe0b8

View file

@ -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;