mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-09 01:09:40 +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()
|
bui.getsound('error').play()
|
||||||
return
|
return
|
||||||
port = port_num
|
port = port_num if port_num is not None else -1
|
||||||
if port_num is None:
|
|
||||||
port = -1
|
|
||||||
if port > 65535 or port < 0:
|
if port > 65535 or port < 0:
|
||||||
bui.screenmessage(
|
bui.screenmessage(
|
||||||
bui.Lstr(resource='internal.invalidPortErrorText'),
|
bui.Lstr(resource='internal.invalidPortErrorText'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user