mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 18:15:45 +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
|
||||
hcfg = HostingConfig()
|
||||
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):
|
||||
raise RuntimeError(f'Invalid sessiontype {sessiontypestr}')
|
||||
hcfg.session_type = sessiontypestr
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user