mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
MultiClient: allow different protocols if a prefix is present
This commit is contained in:
@@ -543,7 +543,7 @@ async def server_loop(ctx : Context):
|
||||
print('Enter multiworld server address')
|
||||
ctx.server_address = await console_input(ctx)
|
||||
|
||||
address = 'ws://' + ctx.server_address
|
||||
address = f"ws://{ctx.server_address}" if "://" not in ctx.server_address else ctx.server_address
|
||||
|
||||
print('Connecting to multiworld server at %s' % address)
|
||||
try:
|
||||
|
Reference in New Issue
Block a user