]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
changed almost nothing
authorThe Canned One <greentopcan@gmail.com>
Tue, 1 Oct 2024 08:57:51 +0000 (10:57 +0200)
committerThe Canned One <greentopcan@gmail.com>
Tue, 1 Oct 2024 08:57:51 +0000 (10:57 +0200)
Content.Server/Silicons/Laws/IonStormSystem.cs
Content.Server/Silicons/Laws/StartIonStormedSystem.cs

index cf31a9e19f71a79dee1cae0d08da687e3966823d..65c12c3d8ec55c4a5b3095a1be1882e906c193ba 100644 (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))
             {
index 887bc051ddeddef033df6fb3b88bbed050091de4..c80c2a7751d786e18e7c98c62837df3eb4008c98 100644 (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;