Actually make the emagging popup work properly

This commit is contained in:
Saphire
2024-11-20 09:32:50 +06:00
parent 9c666457c2
commit 44db676b24
6 changed files with 23 additions and 4 deletions

View File

@@ -22,7 +22,6 @@ public abstract class SharedSingularityGeneratorSystem : EntitySystem
private void OnEmagged(EntityUid uid, SingularityGeneratorComponent component, ref GotEmaggedEvent args)
{
PopupSystem.PopupEntity(Loc.GetString("comp-generator-failsafe-disabled", ("target", uid)), uid);
component.FailsafeDisabled = true;
args.Handled = true;
}