MultiClient: allow different protocols if a prefix is present

This commit is contained in:
Bonta-kun 2020-01-05 20:22:19 +01:00
parent 28e7819fab
commit 1be0d62d4f
1 changed files with 1 additions and 1 deletions

View File

@ -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: