* Holosigns can be stored again
* TryComp to HasComp
---------
Co-authored-by: Plykiya <plykiya@protonmail.com>
using Content.Server.Power.Components;\r
using Content.Server.PowerCell;\r
using Content.Shared.Interaction;\r
+using Content.Shared.Storage;\r
\r
namespace Content.Server.Holosign;\r
\r
\r
if (args.Handled\r
|| !args.CanReach // prevent placing out of range\r
+ || HasComp<StorageComponent>(args.Target) // if it's a storage component like a bag, we ignore usage so it can be stored\r
|| !_powerCell.TryUseCharge(uid, component.ChargeUse) // if no battery or no charge, doesn't work\r
)\r
return;\r