mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
private hosting playlist now properly defaults to ffa default
This commit is contained in:
parent
fafd2c6b66
commit
7110287a39
@ -183,7 +183,7 @@ class PrivateGatherTab(GatherTab):
|
|||||||
from ba.internal import filter_playlist
|
from ba.internal import filter_playlist
|
||||||
hcfg = HostingConfig()
|
hcfg = HostingConfig()
|
||||||
cfg = ba.app.config
|
cfg = ba.app.config
|
||||||
sessiontypestr = cfg.get('Private Party Host Session Type')
|
sessiontypestr = cfg.get('Private Party Host Session Type', 'ffa')
|
||||||
if not isinstance(sessiontypestr, str):
|
if not isinstance(sessiontypestr, str):
|
||||||
raise RuntimeError(f'Invalid sessiontype {sessiontypestr}')
|
raise RuntimeError(f'Invalid sessiontype {sessiontypestr}')
|
||||||
hcfg.session_type = sessiontypestr
|
hcfg.session_type = sessiontypestr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user