Fixes sequential checks
This commit is contained in:
parent
83dcf536d8
commit
42d0b6271f
67 changed files with 99 additions and 99 deletions
|
|
@ -65,7 +65,7 @@ namespace Server.Misc
|
|||
|
||||
private static bool HasDisconnected( Mobile m )
|
||||
{
|
||||
return ( m.NetState == null || m.NetState.Socket == null );
|
||||
return ( m.NetState?.Socket == null );
|
||||
}
|
||||
|
||||
private static LocationInfo GetRandomDestination()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue