mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
Fixed /list command.
This commit is contained in:
parent
ea543bbf58
commit
afefc2a8dd
1 changed files with 4 additions and 4 deletions
|
|
@ -59,10 +59,10 @@ def list(clientid):
|
|||
session = _ba.get_foreground_host_session()
|
||||
|
||||
|
||||
for i in session.sessionplayers:
|
||||
list += p.format(i.getname(icon = False),
|
||||
i.inputdevice.client_id, i.id)+"\n"
|
||||
|
||||
for index, player in enumerate(session.sessionplayers):
|
||||
list += p.format(player.getname(icon = False),
|
||||
player.inputdevice.client_id, index)+"\n"
|
||||
|
||||
send(list, clientid)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue