mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
Update Handlers.py
This commit is contained in:
parent
e1462a1e39
commit
48751b952e
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ def send(msg, clientid):
|
||||||
def clientid_to_myself(clientid):
|
def clientid_to_myself(clientid):
|
||||||
"""Return Player Index Of Self Player"""
|
"""Return Player Index Of Self Player"""
|
||||||
|
|
||||||
for i in _ba.get_foreground_host_activity().players:
|
for i , player in enumerate(_ba.get_foreground_host_activity().players):
|
||||||
if i.sessionplayer.inputdevice.client_id == clientid:
|
if player.sessionplayer.inputdevice.client_id == clientid:
|
||||||
return i
|
return i
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue