fix null ref in bounce
This commit is contained in:
parent
0bd09dbeac
commit
041c976ddc
1 changed files with 1 additions and 1 deletions
|
|
@ -1151,7 +1151,7 @@ namespace Server
|
||||||
{
|
{
|
||||||
IEntity parent = bounce.m_Parent;
|
IEntity parent = bounce.m_Parent;
|
||||||
|
|
||||||
if (parent.Deleted)
|
if (parent == null || parent.Deleted)
|
||||||
{
|
{
|
||||||
MoveToWorld(bounce.m_WorldLoc, bounce.m_Map);
|
MoveToWorld(bounce.m_WorldLoc, bounce.m_Map);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue