Fix RA0032 (#32514)
This commit is contained in:
@@ -33,7 +33,6 @@ public abstract class SharedAnomalySystem : EntitySystem
|
||||
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] protected readonly SharedPopupSystem Popup = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
|
||||
public override void Initialize()
|
||||
@@ -372,7 +371,7 @@ public abstract class SharedAnomalySystem : EntitySystem
|
||||
if (tilerefs.Count == 0)
|
||||
break;
|
||||
|
||||
var tileref = _random.Pick(tilerefs);
|
||||
var tileref = Random.Pick(tilerefs);
|
||||
var distance = MathF.Sqrt(MathF.Pow(tileref.X - xform.LocalPosition.X, 2) + MathF.Pow(tileref.Y - xform.LocalPosition.Y, 2));
|
||||
|
||||
//cut outer & inner circle
|
||||
|
||||
Reference in New Issue
Block a user