mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
Fix packet leak
Credit: @nag0L
This commit is contained in:
parent
6fd0185584
commit
d76bf4443c
1 changed files with 5 additions and 2 deletions
|
|
@ -6881,8 +6881,11 @@ namespace Server
|
|||
if (state.Mobile.CanSee(this))
|
||||
{
|
||||
state.Mobile.ProcessDelta();
|
||||
|
||||
p = Packet.Acquire(new NewMobileAnimation(this, type, action, Utility.Random(0, 60)));
|
||||
|
||||
if (p == null)
|
||||
{
|
||||
p = Packet.Acquire(new NewMobileAnimation(this, type, action, Utility.Random(0, 60)));
|
||||
}
|
||||
|
||||
state.Send(p);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue