fix: Fixes process delta calls during death/res (#1559)

This commit is contained in:
Kamron Batman 2023-10-21 10:39:13 -07:00 committed by GitHub
parent aaf0fc32fa
commit 6239b418a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -4501,7 +4501,7 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
BodyMod = 0;
Body = Race.AliveBody(this);
ProcessDeltaQueue();
ProcessDelta();
for (var i = Items.Count - 1; i >= 0; --i)
{
@ -4839,7 +4839,7 @@ public partial class Mobile : IHued, IComparable<Mobile>, ISpawnable, IObjectPro
EventSink.InvokePlayerDeath(this);
ProcessDeltaQueue();
ProcessDelta();
m_NetState.SendDeathStatus(false);

View file

@ -3221,7 +3221,7 @@ namespace Server.Mobiles
ControlTarget = ControlMaster;
ControlOrder = OrderType.Follow;
ProcessDeltaQueue();
ProcessDelta();
SendIncomingPacket();
SendIncomingPacket();
@ -3834,7 +3834,7 @@ namespace Server.Mobiles
Stam = StamMax;
Mana = 0;
ProcessDeltaQueue();
ProcessDelta();
IsDeadPet = false;