fix: Fixes logout in new networking (#2326)
This commit is contained in:
parent
fd2f90cba9
commit
ac9d7d83ff
2 changed files with 2 additions and 7 deletions
|
|
@ -1245,12 +1245,7 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
|
|||
{
|
||||
get
|
||||
{
|
||||
if (m_NetState is not { IsConnected: true })
|
||||
{
|
||||
m_NetState = null;
|
||||
}
|
||||
|
||||
return m_NetState;
|
||||
return m_NetState is { IsConnected: true } ? m_NetState : null;
|
||||
}
|
||||
set
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue