Skip to content

Commit

Permalink
CentrEDClient cleanup on connect()
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Feb 22, 2024
1 parent 040006f commit 250c9b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/CentrEDClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public void Connect(string hostname, int port, string username, string password)
NetState = new NetState<CentrEDClient>(this, socket, PacketHandlers.Handlers);
NetState.Send(new LoginRequestPacket(username, password));
Running = true;
UndoGroup = null;
UndoStack.Clear();
RequestedBlocks.Clear();

do
{
Expand Down

0 comments on commit 250c9b2

Please sign in to comment.