From 3c7cc82f36268130edc1a21d2239adc7f6838874 Mon Sep 17 00:00:00 2001 From: Jabak <163307958+Jabaks@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:30:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=A3=D0=9C!!!!!!!!=20(#692)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/Nuke/NukeSystem.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Content.Server/Nuke/NukeSystem.cs b/Content.Server/Nuke/NukeSystem.cs index db425b491e..fbc25027d0 100644 --- a/Content.Server/Nuke/NukeSystem.cs +++ b/Content.Server/Nuke/NukeSystem.cs @@ -4,6 +4,7 @@ using Content.Server.Chat.Systems; using Content.Server.Explosion.EntitySystems; using Content.Server.Pinpointer; using Content.Server.Popups; +using Content.Server.RoundEnd; using Content.Server.Station.Systems; using Content.Shared.Audio; using Content.Shared.Containers.ItemSlots; @@ -43,6 +44,7 @@ public sealed class NukeSystem : EntitySystem [Dependency] private readonly StationSystem _station = default!; [Dependency] private readonly UserInterfaceSystem _ui = default!; [Dependency] private readonly AppearanceSystem _appearance = default!; + [Dependency] private readonly RoundEndSystem _roundEndSystem = default!; /// /// Used to calculate when the nuke song should start playing for maximum kino with the nuke sfx @@ -568,6 +570,8 @@ public sealed class NukeSystem : EntitySystem _sound.StopStationEventMusic(uid, StationEventMusicType.Nuke); Del(uid); + + _roundEndSystem.EndRound(TimeSpan.FromSeconds(30)); //Giedi EDIT } ///