From: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:39:35 +0000 (+0300) Subject: Make unknown shuttle events trigger an announcement (#33450) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4beb1016ccd7f3e59b052eb08b0166b16cf415de;p=space-station-14.git Make unknown shuttle events trigger an announcement (#33450) * Make unknown shuttle events trigger an announcement * Call base at the end --------- Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.co> --- diff --git a/Content.Server/GameTicking/Rules/LoadMapRuleSystem.cs b/Content.Server/GameTicking/Rules/LoadMapRuleSystem.cs index d2686ecdcd..f18115d3cf 100644 --- a/Content.Server/GameTicking/Rules/LoadMapRuleSystem.cs +++ b/Content.Server/GameTicking/Rules/LoadMapRuleSystem.cs @@ -1,14 +1,14 @@ using Content.Server.GameTicking.Rules.Components; using Content.Server.GridPreloader; +using Content.Server.StationEvents.Events; using Content.Shared.GameTicking.Components; using Robust.Server.GameObjects; using Robust.Server.Maps; -using Robust.Shared.Map; using Robust.Shared.Prototypes; namespace Content.Server.GameTicking.Rules; -public sealed class LoadMapRuleSystem : GameRuleSystem +public sealed class LoadMapRuleSystem : StationEventSystem { [Dependency] private readonly IPrototypeManager _prototypeManager = default!; [Dependency] private readonly MapSystem _map = default!; @@ -75,5 +75,7 @@ public sealed class LoadMapRuleSystem : GameRuleSystem var ev = new RuleLoadedGridsEvent(mapId, grids); RaiseLocalEvent(uid, ref ev); + + base.Added(uid, comp, rule, args); } }