mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
added text on map
This commit is contained in:
parent
91af4a8027
commit
bfb5dd8ec3
7 changed files with 91 additions and 4 deletions
20
dist/ba_root/mods/setting.py
vendored
20
dist/ba_root/mods/setting.py
vendored
|
|
@ -1 +1,19 @@
|
|||
# Released under the MIT License. See LICENSE for details.
|
||||
# Released under the MIT License. See LICENSE for details.
|
||||
|
||||
|
||||
settings={}
|
||||
|
||||
def get_setting():
|
||||
global settings
|
||||
if settings=={}:
|
||||
f=open("setting.json","r")
|
||||
dat=json.loads(f.read())
|
||||
settings=dat
|
||||
f.close()
|
||||
return settings
|
||||
|
||||
def commit():
|
||||
global settings
|
||||
f=open("setting.json",'w')
|
||||
json.dump(setting,f,indent=4)
|
||||
f.close()
|
||||
Loading…
Add table
Add a link
Reference in a new issue