Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirus59 committed Jul 24, 2024
1 parent 98919a9 commit 72e8961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Corvax/StationGoal/StationGoalPaperSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public bool SendStationGoal(EntityUid? ent, StationGoalPrototype goal)
var dataToCopy = new Dictionary<Type, IPhotocopiedComponentData>();
var paperDataToCopy = new PaperPhotocopiedData()
{
Content = Loc.GetString(goal.Text, ("station", MetaData(ent.Value).EntityName), ("rand_planet_name", Random_planet_name())), //SS220 Random planet name
Content = Loc.GetString(goal.Text, ("station", MetaData(ent.Value).EntityName), ("rand_planet_name", GetRandomPlanetName())), //SS220 Random planet name
StampState = "paper_stamp-centcom",
StampedBy = [
new()
Expand Down Expand Up @@ -129,7 +129,7 @@ public bool SendStationGoal(EntityUid? ent, StationGoalPrototype goal)
}

//SS220 Random planet name begin
public static string Random_planet_name()
private string GetRandomPlanetName()
{
var rand = new Random();
string name = $"{(char) rand.Next(65, 90)}-";
Expand Down

0 comments on commit 72e8961

Please sign in to comment.