@@ -5,7 +5,6 @@ using Content.Shared.GameObjects.Components.Portal;
|
||||
using Content.Shared.GameObjects.Components.Tag;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Physics;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
@@ -169,11 +168,11 @@ namespace Content.Server.GameObjects.Components.Portal
|
||||
StartCooldown();
|
||||
}
|
||||
|
||||
public void CollideWith(IPhysBody ourBody, IPhysBody otherBody)
|
||||
public void CollideWith(IEntity collidedWith)
|
||||
{
|
||||
if (_onCooldown == false)
|
||||
{
|
||||
TryPortalEntity(otherBody.Entity);
|
||||
TryPortalEntity(collidedWith);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user