mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
updating ba_data
This commit is contained in:
parent
b0b6865bdf
commit
48af420a73
92 changed files with 3174 additions and 1075 deletions
20
dist/ba_data/python/baenv.py
vendored
20
dist/ba_data/python/baenv.py
vendored
|
|
@ -52,8 +52,8 @@ if TYPE_CHECKING:
|
|||
|
||||
# Build number and version of the ballistica binary we expect to be
|
||||
# using.
|
||||
TARGET_BALLISTICA_BUILD = 21879
|
||||
TARGET_BALLISTICA_VERSION = '1.7.35'
|
||||
TARGET_BALLISTICA_BUILD = 21949
|
||||
TARGET_BALLISTICA_VERSION = '1.7.37'
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
@ -348,12 +348,16 @@ def _setup_paths(
|
|||
if user_python_dir is None:
|
||||
user_python_dir = str(Path(config_dir, 'mods'))
|
||||
|
||||
# Wherever our user_python_dir is, if we find a sys/FOO dir
|
||||
# under it where FOO matches our version, use that as our
|
||||
# app_python_dir. This allows modding built-in stuff on
|
||||
# platforms where there is no write access to said built-in
|
||||
# stuff.
|
||||
check_dir = Path(user_python_dir, 'sys', TARGET_BALLISTICA_VERSION)
|
||||
# Wherever our user_python_dir is, if we find a sys/FOO_BAR dir
|
||||
# under it where FOO matches our version and BAR matches our
|
||||
# build number, use that as our app_python_dir. This allows
|
||||
# modding built-in stuff on platforms where there is no write
|
||||
# access to said built-in stuff.
|
||||
check_dir = Path(
|
||||
user_python_dir,
|
||||
'sys',
|
||||
f'{TARGET_BALLISTICA_VERSION}_{TARGET_BALLISTICA_BUILD}',
|
||||
)
|
||||
try:
|
||||
if check_dir.is_dir():
|
||||
app_python_dir = str(check_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue