mirror of
https://port.numenaute.org/aleajactaest/bazar_alea.git
synced 2024-11-09 08:49:03 +00:00
update client to ignore is network didn't work
This commit is contained in:
parent
85b92e7871
commit
efbdb34abd
1 changed files with 4 additions and 1 deletions
|
@ -32,7 +32,10 @@ func connect_to_host():
|
||||||
print("Connect to : " + listen_ip + " : " + str(listen_port))
|
print("Connect to : " + listen_ip + " : " + str(listen_port))
|
||||||
dataEnet = enet.connect_to_host(listen_ip, listen_port, 10)
|
dataEnet = enet.connect_to_host(listen_ip, listen_port, 10)
|
||||||
print(dataEnet)
|
print(dataEnet)
|
||||||
if not dataEnet.is_active():
|
if not dataEnet:
|
||||||
|
print("ERROR dataEnet == null: ")
|
||||||
|
return
|
||||||
|
elif not dataEnet.is_active():
|
||||||
print("ERROR enet.connect_to_host: ", dataEnet.is_active())
|
print("ERROR enet.connect_to_host: ", dataEnet.is_active())
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue