Fix holosignsystem popup (#32808)
This commit is contained in:
parent
dccd00999c
commit
e891838d4b
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ public sealed class HolosignSystem : EntitySystem
|
|||
if (args.Handled
|
||||
|| !args.CanReach // prevent placing out of range
|
||||
|| HasComp<StorageComponent>(args.Target) // if it's a storage component like a bag, we ignore usage so it can be stored
|
||||
|| !_powerCell.TryUseCharge(uid, component.ChargeUse) // if no battery or no charge, doesn't work
|
||||
|| !_powerCell.TryUseCharge(uid, component.ChargeUse, user: args.User) // if no battery or no charge, doesn't work
|
||||
)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue