* Pulling: Migrate critical pull state from PullController to SharedPullableComponent, fixing two bugs in the process Bug 1: PullController can be just summoned for no reason when the verb is queried Bug 2: PullController keeps it's own independent pull state which can (and will) go out of sync (See https://github.com/space-wizards/space-station-14/issues/2619 ) * Pulling: Fix issues with previous commit (or possibly in general?) causing transferring a pull to cause alerts to go wrong The primary problem is that there is one "pulling slot" for a puller, so SharedPullableComponent needs to stop the existing pull. * Pulling: Remove debug logs (whoops)
13 lines
293 B
C#
13 lines
293 B
C#
using Robust.Shared.GameObjects.Components;
|
|
|
|
namespace Content.Shared.Physics.Pull
|
|
{
|
|
public class PullStartedMessage : PullMessage
|
|
{
|
|
public PullStartedMessage(IPhysicsComponent puller, IPhysicsComponent pulled) :
|
|
base(puller, pulled)
|
|
{
|
|
}
|
|
}
|
|
}
|