mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-14 17:46:03 +00:00
Update to 1.7.9
This commit is contained in:
parent
a133256df2
commit
01faae6f31
21 changed files with 123 additions and 85 deletions
6
dist/ba_root/mods/playersData/pdata.py
vendored
6
dist/ba_root/mods/playersData/pdata.py
vendored
|
|
@ -12,7 +12,9 @@ import _thread
|
|||
|
||||
from serverData import serverdata
|
||||
from tools.file_handle import OpenJson
|
||||
import _ba # pylint: disable=import-error
|
||||
# pylint: disable=import-error
|
||||
import _ba
|
||||
import ba.internal
|
||||
import json
|
||||
|
||||
if TYPE_CHECKING:
|
||||
|
|
@ -131,7 +133,7 @@ def add_profile(
|
|||
serverdata.clients[account_id]["rejoincount"] = 1
|
||||
serverdata.clients[account_id]["lastJoin"] = time.time()
|
||||
cid = 113
|
||||
for ros in _ba.get_game_roster():
|
||||
for ros in ba.internal.get_game_roster():
|
||||
if ros['account_id'] == account_id:
|
||||
cid = ros['client_id']
|
||||
serverdata.clients[account_id]["lastIP"] = _ba.get_client_ip(cid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue