fix admin pda health analyzer popup (#31097)
* damn it * whoopsie * no more fucky wucky fucky wuckies are GONE
This commit is contained in:
@@ -55,4 +55,10 @@ public sealed partial class HealthAnalyzerComponent : Component
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier? ScanningEndSound;
|
||||
|
||||
/// <summary>
|
||||
/// Whether to show up the popup
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool Silent;
|
||||
}
|
||||
|
||||
@@ -91,8 +91,8 @@ public sealed class HealthAnalyzerSystem : EntitySystem
|
||||
NeedHand = true,
|
||||
BreakOnMove = true,
|
||||
});
|
||||
|
||||
if (args.Target == args.User || doAfterCancelled)
|
||||
|
||||
if (args.Target == args.User || doAfterCancelled || uid.Comp.Silent)
|
||||
return;
|
||||
|
||||
var msg = Loc.GetString("health-analyzer-popup-scan-target", ("user", Identity.Entity(args.User, EntityManager)));
|
||||
|
||||
@@ -678,6 +678,7 @@
|
||||
id: UniversalIDCard
|
||||
- type: HealthAnalyzer
|
||||
scanDelay: 0
|
||||
silent: true
|
||||
- type: CartridgeLoader
|
||||
uiKey: enum.PdaUiKey.Key
|
||||
notificationsEnabled: false
|
||||
|
||||
Reference in New Issue
Block a user