mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-03 22:14:45 +08:00
Update party.py
This commit is contained in:
parent
50fa53ebfe
commit
d94e88803a
@ -504,9 +504,7 @@ class PartyWindow(bui.Window):
|
||||
)
|
||||
bui.getsound('error').play()
|
||||
return
|
||||
port = port_num
|
||||
if port_num is None:
|
||||
port = -1
|
||||
port = port_num if port_num is not None else -1
|
||||
if port > 65535 or port < 0:
|
||||
bui.screenmessage(
|
||||
bui.Lstr(resource='internal.invalidPortErrorText'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user