mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
fixed roles reset , added aarch libs
This commit is contained in:
parent
53de7a3401
commit
be2bfad1bd
3 changed files with 2 additions and 5 deletions
BIN
dist/ba_data/python-site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so
vendored
Normal file
BIN
dist/ba_data/python-site-packages/_cffi_backend.cpython-310-aarch64-linux-gnu.so
vendored
Normal file
Binary file not shown.
BIN
dist/ba_data/python-site-packages/cffi.libs/libffi-2a6f5b63.so.8.1.0
vendored
Normal file
BIN
dist/ba_data/python-site-packages/cffi.libs/libffi-2a6f5b63.so.8.1.0
vendored
Normal file
Binary file not shown.
7
dist/ba_root/mods/playersData/pdata.py
vendored
7
dist/ba_root/mods/playersData/pdata.py
vendored
|
|
@ -403,7 +403,8 @@ def get_roles() -> dict:
|
|||
roles = json.load(f)
|
||||
f.close()
|
||||
CacheData.roles = roles
|
||||
except:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
f = open(PLAYERS_DATA_PATH + "roles.json.backup", "r")
|
||||
roles = json.load(f)
|
||||
f.close()
|
||||
|
|
@ -640,10 +641,6 @@ def set_tag(tag: str, account_id: str) -> None:
|
|||
commit_c()
|
||||
|
||||
|
||||
def get_roles():
|
||||
return CacheData.roles
|
||||
|
||||
|
||||
def update_roles(roles):
|
||||
CacheData.roles = roles
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue