- fix: felinids layouts

This commit is contained in:
2024-02-18 13:23:05 +03:00
parent 6019195779
commit c3135f160e
19 changed files with 1530 additions and 55 deletions

View File

@@ -2,6 +2,7 @@
using Content.Shared._Amour.Hole;
using Robust.Server.Containers;
using Robust.Shared.Containers;
using Robust.Shared.GameStates;
using Robust.Shared.Timing;
namespace Content.Server._Amour.Hole;
@@ -14,6 +15,13 @@ public sealed partial class HoleSystem : SharedHoleSystem
{
base.Initialize();
InitializeInventory();
SubscribeLocalEvent<HoleComponent,ComponentGetState>(OnGetState);
}
private void OnGetState(EntityUid uid, HoleComponent component,ref ComponentGetState args)
{
args.State = new HoleComponentState(component.Parent, component.IsExcited);
}
public override void Update(float frameTime)