mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
playlist fetch fallback
This commit is contained in:
parent
2a93775d77
commit
371d4b1f94
1 changed files with 5 additions and 3 deletions
8
dist/ba_data/python/ba/_servermode.py
vendored
8
dist/ba_data/python/ba/_servermode.py
vendored
|
|
@ -319,9 +319,11 @@ class ServerController:
|
|||
) -> None:
|
||||
if result is None:
|
||||
print('Error fetching playlist; aborting.')
|
||||
import _ba
|
||||
_ba.quit()
|
||||
|
||||
print('Falling back to use default playlist')
|
||||
self._config.session_type = 'teams'
|
||||
self._prep_timer = None
|
||||
_ba.pushcall(self._launch_server_session)
|
||||
return
|
||||
# Once we get here, simply modify our config to use this playlist.
|
||||
typename = (
|
||||
'teams'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue