PopupSystem public methods rejig (#12830)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Content.Server.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork;
|
||||
using Content.Server.DeviceNetwork.Components;
|
||||
using Content.Shared.CartridgeLoader;
|
||||
using Content.Shared.CartridgeLoader.Cartridges;
|
||||
@@ -51,7 +51,7 @@ public sealed class NetProbeCartridgeSystem : EntitySystem
|
||||
//Why is there no NextFloat(float min, float max)???
|
||||
var audioParams = AudioParams.Default.WithVolume(-2f).WithPitchScale((float)_random.Next(12, 21) / 10);
|
||||
_audioSystem.PlayEntity(component.SoundScan, args.InteractEvent.User, target, audioParams);
|
||||
_popupSystem.PopupCursor(Loc.GetString("net-probe-scan", ("device", target)), Filter.Entities(args.InteractEvent.User));
|
||||
_popupSystem.PopupCursor(Loc.GetString("net-probe-scan", ("device", target)), args.InteractEvent.User);
|
||||
|
||||
|
||||
//Limit the amount of saved probe results to 9
|
||||
|
||||
Reference in New Issue
Block a user