From 72e89616f59029464cb6bc4329faf7dc1025e593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=A5=D0=B8=D0=BB?= =?UTF-8?q?=D1=8E=D0=B2=D1=87=D0=B8=D1=86?= Date: Wed, 24 Jul 2024 21:21:25 +0300 Subject: [PATCH] some fixes --- Content.Server/Corvax/StationGoal/StationGoalPaperSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Corvax/StationGoal/StationGoalPaperSystem.cs b/Content.Server/Corvax/StationGoal/StationGoalPaperSystem.cs index 3e409a52731039..c1d97399b7d171 100644 --- a/Content.Server/Corvax/StationGoal/StationGoalPaperSystem.cs +++ b/Content.Server/Corvax/StationGoal/StationGoalPaperSystem.cs @@ -86,7 +86,7 @@ public bool SendStationGoal(EntityUid? ent, StationGoalPrototype goal) var dataToCopy = new Dictionary(); 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() @@ -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)}-";