changed almost nothing

This commit is contained in:
The Canned One
2024-10-01 10:57:51 +02:00
parent 1abc60b995
commit c6fe5682c2
2 changed files with 2 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ public sealed class IonStormSystem : EntitySystem
if (_robustRandom.Prob(target.ShuffleChance))
{
// hopefully work with existing glitched laws if there are multiple ion storms
FixedPoint2 baseOrder = FixedPoint2.New(1);
var baseOrder = FixedPoint2.New(1);
foreach (var law in laws.Laws)
{
if (law.Order < baseOrder)
@@ -137,7 +137,7 @@ public sealed class IonStormSystem : EntitySystem
for (int i = 0; i < laws.Laws.Count; i++)
{
string notNullIdentifier = laws.Laws[i].LawIdentifierOverride ?? (i - orderDeduction).ToString();
var notNullIdentifier = laws.Laws[i].LawIdentifierOverride ?? (i - orderDeduction).ToString();
if (notNullIdentifier.Any(char.IsSymbol))
{

View File

@@ -1,7 +1,6 @@
using Content.Shared.Silicons.Laws.Components;
using Content.Shared.Administration.Logs;
using Content.Shared.Database;
using Content.Shared.Silicons.Laws;
namespace Content.Server.Silicons.Laws;