mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
python3.9,removed windows build,kick vote,ban mute commands , rjcd
This commit is contained in:
parent
94bdfb531a
commit
dbe040a017
2453 changed files with 3797 additions and 437553 deletions
13
dist/ba_root/mods/setting.py
vendored
13
dist/ba_root/mods/setting.py
vendored
|
|
@ -3,13 +3,20 @@ import _ba, json
|
|||
|
||||
settings_path = _ba.env()["python_directory_user"]+"/setting.json"
|
||||
|
||||
settings=None
|
||||
|
||||
|
||||
|
||||
def get_settings_data():
|
||||
with open(settings_path, "r") as f:
|
||||
data = json.load(f)
|
||||
return data
|
||||
global settings
|
||||
if settings==None:
|
||||
with open(settings_path, "r") as f:
|
||||
data = json.load(f)
|
||||
settings=data
|
||||
return settings
|
||||
else:
|
||||
|
||||
return settings
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue