More (IComponent) shenanigans and also some contaminated IoCManager.Resolve<IEntityManager>() very long yes calls
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Content.Shared.Slippery
|
||||
|
||||
private void HandleCollide(EntityUid uid, SlipperyComponent component, StartCollideEvent args)
|
||||
{
|
||||
var otherUid = ((IComponent) args.OtherFixture.Body).Owner;
|
||||
var otherUid = args.OtherFixture.Body.Owner;
|
||||
|
||||
if (!CanSlip(component, otherUid)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user