nsetzer / mpgameserver

Python Multiplayer UDP Game Server
GNU Lesser General Public License v2.1
43 stars 6 forks source link

.connected() returns None instead of False #9

Open TKirchmeier opened 4 months ago

TKirchmeier commented 4 months ago

Prerequisite

com       = UdpClient() # without following connect

Observed behaviour:

print ( com.connected() ) # return None

Expected behaviour:

print ( com.connected() ) # return False 
nsetzer commented 4 months ago

Thanks for the feedback.

I pushed a change to the main branch that should address this issue.