mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 17:17:25 +00:00
Content changes for grid splitting (#7645)
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
This commit is contained in:
co-authored by
Vera Aguilera Puerto
parent
fd4cdbb2e0
commit
8c7772630c
@@ -46,6 +46,7 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
// Shouldn't need re-anchoring.
|
||||
SubscribeLocalEvent<DisposalUnitComponent, AnchorStateChangedEvent>(OnAnchorChanged);
|
||||
// TODO: Predict me when hands predicted
|
||||
SubscribeLocalEvent<DisposalUnitComponent, RelayMovementEntityEvent>(HandleMovement);
|
||||
@@ -244,7 +245,7 @@ namespace Content.Server.Disposal.Unit.EntitySystems
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (!CanInsert(component, args.Used) || !_handsSystem.TryDropIntoContainer(args.User, args.Used, component.Container))
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user