Public API changes to IPhysBody and MoverController.

This commit is contained in:
Acruid
2020-07-21 23:42:33 -07:00
parent 551973fbb9
commit f34b454923
4 changed files with 5 additions and 5 deletions

View File

@@ -268,7 +268,7 @@ namespace Content.Shared.GameObjects.Components.Movement
bool ICollideSpecial.PreventCollide(IPhysBody collidedWith)
{
// Don't collide with other mobs
return collidedWith.Owner.HasComponent<SharedSpeciesComponent>();
return collidedWith.Entity.HasComponent<SharedSpeciesComponent>();
}
[Serializable, NetSerializable]