Removes all dependencies on engine component events. (#4199)
This commit is contained in:
16
Content.Client/Suspicion/SuspicionRoleSystem.cs
Normal file
16
Content.Client/Suspicion/SuspicionRoleSystem.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Robust.Client.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Client.Suspicion
|
||||
{
|
||||
class SuspicionRoleSystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
SubscribeLocalEvent<SuspicionRoleComponent, PlayerAttachedEvent>((_, component, _) => component.PlayerAttached());
|
||||
SubscribeLocalEvent<SuspicionRoleComponent, PlayerDetachedEvent>((_, component, _) => component.PlayerDetached());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user