- fix: felinids layouts
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user