mirror of
https://github.com/corvax-team/ss14-wl.git
synced 2026-02-14 19:29:57 +01:00
* KITCHEN 2 * Illuminati * Update Resources/ServerInfo/Guidebook/_WL/Antagonist/Conspirators.xml Co-authored-by: cfif126 <94059374+cfif126@users.noreply.github.com> * Update Resources/ServerInfo/Guidebook/_WL/Antagonist/Conspirators.xml Co-authored-by: cfif126 <94059374+cfif126@users.noreply.github.com> * Update Resources/Locale/ru-RU/_WL/game-ticking/game-presets/preset-conspirator.ftl Co-authored-by: cfif126 <94059374+cfif126@users.noreply.github.com> * Illuminati 2 * Illuminati 3 * Illuminati 4 fix --------- Co-authored-by: cfif126 <94059374+cfif126@users.noreply.github.com>
20 lines
546 B
C#
20 lines
546 B
C#
using Content.Server._WL.Objectives.Components;
|
|
using Content.Shared.Objectives.Components;
|
|
|
|
namespace Content.Server._WL.Objectives.Systems;
|
|
|
|
public sealed class NoCompletionObjectiveSystem : EntitySystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
SubscribeLocalEvent<NoCompletionObjectiveComponent, ObjectiveGetProgressEvent>(OnGetProgress);
|
|
}
|
|
|
|
private void OnGetProgress(Entity<NoCompletionObjectiveComponent> entity, ref ObjectiveGetProgressEvent args)
|
|
{
|
|
args.Progress = 0f;
|
|
}
|
|
}
|