From 0b317f5712117c1c8572bfd1075c826eae001b22 Mon Sep 17 00:00:00 2001 From: TryHardo7 Date: Sat, 19 Oct 2024 19:43:51 +0300 Subject: [PATCH] even less lines of code --- Content.Server/StationEvents/Events/IonStormRule.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Content.Server/StationEvents/Events/IonStormRule.cs b/Content.Server/StationEvents/Events/IonStormRule.cs index c9d83dabd0f3bc..cff9560f61270a 100644 --- a/Content.Server/StationEvents/Events/IonStormRule.cs +++ b/Content.Server/StationEvents/Events/IonStormRule.cs @@ -130,7 +130,7 @@ protected override void Started(EntityUid uid, IonStormRuleComponent comp, GameR // generate a new law... // SS220 IonStrom Laws rework start // var newLaw = GenerateLaw(); - var newLaw = PickLaw(); + var newLaw = Pick(BrickedLaw); // SS220 IonStrom Laws rework end // see if the law we add will replace a random existing law or be a new glitched order one @@ -289,14 +289,6 @@ private string GenerateLaw() _ => Loc.GetString("ion-storm-law-concept-verb", ("concept", concept), ("verb", verb), ("subjects", triple)) }; } - // SS220 IonStorm Rework start - private string PickLaw() - { - var brickedLaw = Pick(BrickedLaw); - return brickedLaw; - } - // SS220 IonStorm Rework end - /// /// Picks a random value from an ion storm dataset. /// All ion storm datasets start with IonStorm.