Updates map packets (#319)

This commit is contained in:
Kamron Batman 2020-11-17 20:58:28 -08:00 • committed by GitHub
parent 0726b4547b
commit ceb8d4ad49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 106 additions and 70 deletions

View file

@ -2856,14 +2856,11 @@ namespace Server
if (ns != null && m_Map != null)
{
ns.Sequence = 0;
if (Map != null)
{
ns.Send(new MapChange(Map));
}
ns.SendMapChange(Map);
if (!Core.SE && ns.ProtocolChanges < ProtocolChanges.Version6000)
{
ns.Send(new MapPatches());
ns.SendMapPatches();
}
ns.Send(SeasonChange.Instantiate(GetSeason(), true));
@ -2995,14 +2992,11 @@ namespace Server
if (ns != null && m_Map != null)
{
ns.Sequence = 0;
if (Map != null)
{
ns.Send(new MapChange(Map));
}
ns.SendMapChange(Map);
if (!Core.SE && ns.ProtocolChanges < ProtocolChanges.Version6000)
{
ns.Send(new MapPatches());
ns.SendMapPatches();
}
ns.Send(SeasonChange.Instantiate(GetSeason(), true));