mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
16 lines
419 B
C#
16 lines
419 B
C#
namespace Content.Server.Roles;
|
|
|
|
public sealed class RoleBriefingSystem : EntitySystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
SubscribeLocalEvent<RoleBriefingComponent, GetBriefingEvent>(OnGetBriefing);
|
|
}
|
|
|
|
private void OnGetBriefing(EntityUid uid, RoleBriefingComponent comp, ref GetBriefingEvent args)
|
|
{
|
|
args.Append(Loc.GetString(comp.Briefing));
|
|
}
|
|
}
|