fix: Fixes GetItemsAt, GetMobilesAt, and GetClientsAt (#1653)
This commit is contained in:
parent
2084374318
commit
aaad909c89
3 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ public partial class Map
|
||||||
{
|
{
|
||||||
_started = false;
|
_started = false;
|
||||||
_location = loc;
|
_location = loc;
|
||||||
_linkList = ref map.GetRealSector(loc.m_X, loc.m_Y).Clients;
|
_linkList = ref map.GetSector(loc.m_X, loc.m_Y).Clients;
|
||||||
_version = 0;
|
_version = 0;
|
||||||
_current = null;
|
_current = null;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ public partial class Map
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_linkList = ref map.GetRealSector(loc.m_X, loc.m_Y).Items;
|
_linkList = ref map.GetSector(loc.m_X, loc.m_Y).Items;
|
||||||
}
|
}
|
||||||
|
|
||||||
_version = 0;
|
_version = 0;
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ public partial class Map
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_linkList = ref map.GetRealSector(loc.m_X, loc.m_Y).Mobiles;
|
_linkList = ref map.GetSector(loc.m_X, loc.m_Y).Mobiles;
|
||||||
}
|
}
|
||||||
_version = 0;
|
_version = 0;
|
||||||
_current = null;
|
_current = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue