Minor Rev changes (#20771)

Co-authored-by: coolmankid12345 <coolmankid12345@users.noreply.github.com>
This commit is contained in:
coolmankid12345
2023-10-06 00:41:26 -04:00
committed by GitHub
parent acc9c8940b
commit 0a7338c0fe
3 changed files with 9 additions and 9 deletions

View File

@@ -14,13 +14,13 @@ public sealed class SharedRevolutionarySystem : EntitySystem
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<MindShieldComponent, ComponentInit>(MindShieldImplanted);
SubscribeLocalEvent<MindShieldComponent, MapInitEvent>(MindShieldImplanted);
}
/// <summary>
/// When the mindshield is implanted in the rev it will popup saying they were deconverted. In Head Revs it will remove the mindshield component.
/// </summary>
private void MindShieldImplanted(EntityUid uid, MindShieldComponent comp, ComponentInit init)
private void MindShieldImplanted(EntityUid uid, MindShieldComponent comp, MapInitEvent init)
{
if (HasComp<RevolutionaryComponent>(uid) && !HasComp<HeadRevolutionaryComponent>(uid))
{