mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Fixing a bug
This commit is contained in:
parent
a126662472
commit
2e12401de5
2 changed files with 6 additions and 5 deletions
|
|
@ -10,13 +10,13 @@ k = bs.connect_to_party
|
|||
|
||||
def j(address, port=43210, print_progress=False):
|
||||
try:
|
||||
if bs.get_connection_to_host_info() is not None:
|
||||
if bool(bs.get_connection_to_host_info_2()):
|
||||
bs.disconnect_from_host()
|
||||
m.i = address
|
||||
m.p = port
|
||||
k(m.i, m.p, print_progress)
|
||||
except:
|
||||
pass
|
||||
m.i = address
|
||||
m.p = port
|
||||
k(m.i, m.p, print_progress)
|
||||
|
||||
|
||||
def R(s):
|
||||
|
|
@ -32,4 +32,4 @@ def R(s):
|
|||
class byBordd(v):
|
||||
def __init__(s):
|
||||
m._refresh_in_game = R(m._refresh_in_game)
|
||||
bs.connect_to_party = j
|
||||
bs.connect_to_party = j
|
||||
Loading…
Add table
Add a link
Reference in a new issue