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>
|
/// </summary>
|
||||||
[DataField]
|
[DataField]
|
||||||
public SoundSpecifier? ScanningEndSound;
|
public SoundSpecifier? ScanningEndSound;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether to show up the popup
|
||||||
|
/// </summary>
|
||||||
|
[DataField]
|
||||||
|
public bool Silent;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ public sealed class HealthAnalyzerSystem : EntitySystem
|
|||||||
BreakOnMove = true,
|
BreakOnMove = true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (args.Target == args.User || doAfterCancelled)
|
if (args.Target == args.User || doAfterCancelled || uid.Comp.Silent)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var msg = Loc.GetString("health-analyzer-popup-scan-target", ("user", Identity.Entity(args.User, EntityManager)));
|
var msg = Loc.GetString("health-analyzer-popup-scan-target", ("user", Identity.Entity(args.User, EntityManager)));
|
||||||
|
|||||||
@@ -678,6 +678,7 @@
|
|||||||
id: UniversalIDCard
|
id: UniversalIDCard
|
||||||
- type: HealthAnalyzer
|
- type: HealthAnalyzer
|
||||||
scanDelay: 0
|
scanDelay: 0
|
||||||
|
silent: true
|
||||||
- type: CartridgeLoader
|
- type: CartridgeLoader
|
||||||
uiKey: enum.PdaUiKey.Key
|
uiKey: enum.PdaUiKey.Key
|
||||||
notificationsEnabled: false
|
notificationsEnabled: false
|
||||||
|
|||||||
Reference in New Issue
Block a user