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
|
|
@ -102,6 +102,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versions": {
|
"versions": {
|
||||||
|
"2.0.2": null,
|
||||||
"2.0.1": {
|
"2.0.1": {
|
||||||
"api_version": 9,
|
"api_version": 9,
|
||||||
"commit_sha": "506451f",
|
"commit_sha": "506451f",
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,13 @@ k = bs.connect_to_party
|
||||||
|
|
||||||
def j(address, port=43210, print_progress=False):
|
def j(address, port=43210, print_progress=False):
|
||||||
try:
|
try:
|
||||||
if bs.get_connection_to_host_info() is not None:
|
if bool(bs.get_connection_to_host_info_2()):
|
||||||
bs.disconnect_from_host()
|
bs.disconnect_from_host()
|
||||||
m.i = address
|
|
||||||
m.p = port
|
|
||||||
k(m.i, m.p, print_progress)
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
m.i = address
|
||||||
|
m.p = port
|
||||||
|
k(m.i, m.p, print_progress)
|
||||||
|
|
||||||
|
|
||||||
def R(s):
|
def R(s):
|
||||||
|
|
@ -32,4 +32,4 @@ def R(s):
|
||||||
class byBordd(v):
|
class byBordd(v):
|
||||||
def __init__(s):
|
def __init__(s):
|
||||||
m._refresh_in_game = R(m._refresh_in_game)
|
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