Skip to content

Commit d058b7f

Browse files
committed
AutoConnect page fix
1 parent cb879bf commit d058b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VoiceCraft/scripts/GUIHandler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class GUIHandler {
6060
new ModalFormData()
6161
.title("Auto Connect Settings")
6262
.textField("IP Address", "127.0.0.1", IP)
63-
.textField("Port", "9050", Port.toString())
63+
.textField("Port", "9050", Port ? Port.toString() : "")
6464
.textField("Server Key", "abc123", ServerKey)
6565
.show(player)
6666
.then((results) => {

0 commit comments

Comments
 (0)