fix: Removes players from sectors (#682)
This commit is contained in:
parent
f795ab4698
commit
84cbd52a2a
3 changed files with 16 additions and 29 deletions
|
|
@ -792,7 +792,7 @@ namespace Server
|
|||
for (var y = sect.Y - range; y <= sect.Y + range; ++y)
|
||||
{
|
||||
var check = GetRealSector(x, y);
|
||||
if (check != InvalidSector && check.Players.Count > 0)
|
||||
if (check != InvalidSector && check.Clients.Count > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue