Small adjustments as I go through the code.
This commit is contained in:
parent
4d2965d2de
commit
3f45bd57b9
2 changed files with 25 additions and 25 deletions
|
|
@ -3316,7 +3316,7 @@ namespace Server
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool _processing = false;
|
private static bool _processing;
|
||||||
|
|
||||||
public static void ProcessDeltaQueue()
|
public static void ProcessDeltaQueue()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2135,25 +2135,25 @@ namespace Server.Network
|
||||||
if ( m == null )
|
if ( m == null )
|
||||||
{
|
{
|
||||||
state.Dispose();
|
state.Dispose();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
if ( m.NetState != null )
|
|
||||||
m.NetState.Dispose();
|
|
||||||
|
|
||||||
NetState.ProcessDisposedQueue();
|
|
||||||
|
|
||||||
state.Send( new ClientVersionReq() );
|
m.NetState?.Dispose();
|
||||||
|
|
||||||
state.BlockAllPackets = true;
|
// TODO: Make this wait one tick so we don't have to call it unnecessarily
|
||||||
|
NetState.ProcessDisposedQueue();
|
||||||
|
|
||||||
state.Flags = (ClientFlags)flags;
|
state.Send( new ClientVersionReq() );
|
||||||
|
|
||||||
state.Mobile = m;
|
state.BlockAllPackets = true;
|
||||||
m.NetState = state;
|
|
||||||
|
|
||||||
new LoginTimer( state, m ).Start();
|
state.Flags = (ClientFlags)flags;
|
||||||
}
|
|
||||||
|
state.Mobile = m;
|
||||||
|
m.NetState = state;
|
||||||
|
|
||||||
|
new LoginTimer( state, m ).Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue