Skip to content

Commit

Permalink
Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
minecraft8997 committed Nov 10, 2023
1 parent a381a95 commit 2121d66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/ru/mclord/classic/NetworkingThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public void run() {
public static synchronized void reportDisconnected(String reason) {
if (reportedDisconnected) return;

System.out.println("Disconnected: " + reason);
McLordClassic.game().networkingThread.interrupt();
EventManager.getInstance().fireEvent(DisconnectEvent.create(reason));

Expand Down

0 comments on commit 2121d66

Please sign in to comment.