avoid a null ref on Bullet
parent
9234613ed5
commit
d43eeb1d9d
|
@ -173,7 +173,8 @@ public class BSPrimLinkable : BSPrimDisplaced
|
||||||
// Body is being taken apart. Remove physical dependencies and schedule a rebuild.
|
// Body is being taken apart. Remove physical dependencies and schedule a rebuild.
|
||||||
protected override void RemoveDependencies()
|
protected override void RemoveDependencies()
|
||||||
{
|
{
|
||||||
Linkset.RemoveDependencies(this);
|
if (Linkset != null)
|
||||||
|
Linkset.RemoveDependencies(this);
|
||||||
base.RemoveDependencies();
|
base.RemoveDependencies();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue