Skip to content

Commit

Permalink
Only auto connect on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Mar 16, 2024
1 parent 87e1bfc commit aac1a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mpo/dayon/assisted/gui/Assisted.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private boolean configureConnection(String serverName, String portNumber, boolea
}
}

if (autoConnect) {
if (autoConnect && coldStart) {
coldStart = false;
networkEngine.connect();
return true;
Expand Down

0 comments on commit aac1a1a

Please sign in to comment.