]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Simulate command in minutes for real (#36808)
authorIProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
Tue, 22 Apr 2025 22:20:45 +0000 (18:20 -0400)
committerGitHub <noreply@github.com>
Tue, 22 Apr 2025 22:20:45 +0000 (18:20 -0400)
* 60

Content.Server/StationEvents/BasicStationEventSchedulerSystem.cs

index 06289618f7a27ab336d7e01493e9897bca3e115b..a2781e27a30ae9fc4a2f75b44464f19795e69a61 100644 (file)
@@ -121,7 +121,7 @@ namespace Content.Server.StationEvents
             for (var i = 0; i < rounds; i++)
             {
                 var curTime = TimeSpan.Zero;
-                var randomEndTime = _random.NextGaussian(roundEndMean, roundEndStdDev); // Its in minutes, should probably be a better time format once we get that in toolshed like [hh:mm:ss]
+                var randomEndTime = _random.NextGaussian(roundEndMean, roundEndStdDev) * 60; // Its in minutes, should probably be a better time format once we get that in toolshed like [hh:mm:ss]
                 if (randomEndTime <= 0)
                     continue;