mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
1.6.5 before python3.9
This commit is contained in:
parent
7cb8323a5d
commit
162b04b6b5
296 changed files with 6445 additions and 491 deletions
3
dist/ba_data/python/bastd/stdmap.py
vendored
3
dist/ba_data/python/bastd/stdmap.py
vendored
|
|
@ -15,7 +15,8 @@ if TYPE_CHECKING:
|
|||
def _get_map_data(name: str) -> Dict[str, Any]:
|
||||
import json
|
||||
print('Would get map data', name)
|
||||
with open('ba_data/data/maps/' + name + '.json') as infile:
|
||||
with open('ba_data/data/maps/' + name + '.json',
|
||||
encoding='utf-8') as infile:
|
||||
mapdata = json.loads(infile.read())
|
||||
assert isinstance(mapdata, dict)
|
||||
return mapdata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue