From: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com> Date: Tue, 22 Apr 2025 22:20:45 +0000 (-0400) Subject: Simulate command in minutes for real (#36808) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4fa808ace513a38cae9744ebfb50ce1b71f38178;p=space-station-14.git Simulate command in minutes for real (#36808) * 60 --- diff --git a/Content.Server/StationEvents/BasicStationEventSchedulerSystem.cs b/Content.Server/StationEvents/BasicStationEventSchedulerSystem.cs index 06289618f7..a2781e27a3 100644 --- a/Content.Server/StationEvents/BasicStationEventSchedulerSystem.cs +++ b/Content.Server/StationEvents/BasicStationEventSchedulerSystem.cs @@ -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;