Skip to content

Commit

Permalink
even less lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
TryHardo7 committed Oct 19, 2024
1 parent 6768098 commit 0b317f5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Content.Server/StationEvents/Events/IonStormRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

/// <summary>
/// Picks a random value from an ion storm dataset.
/// All ion storm datasets start with IonStorm.
Expand Down

0 comments on commit 0b317f5

Please sign in to comment.