Fixing intercom encryption key dropping (#34582)
* Added optional param to PickupOrDrop to allow the item to be moved next to the owner of the hand component * cleanup placement code
This commit is contained in:
@@ -55,7 +55,7 @@ public sealed partial class EncryptionKeySystem : EntitySystem
|
||||
_container.EmptyContainer(component.KeyContainer, reparent: false);
|
||||
foreach (var ent in contained)
|
||||
{
|
||||
_hands.PickupOrDrop(args.User, ent);
|
||||
_hands.PickupOrDrop(args.User, ent, dropNear: true);
|
||||
}
|
||||
|
||||
if (!_timing.IsFirstTimePredicted)
|
||||
|
||||
Reference in New Issue
Block a user