Updates map packets (#319)
This commit is contained in:
parent
0726b4547b
commit
ceb8d4ad49
6 changed files with 106 additions and 70 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue