Bump engine to 0.19.0.0 (#8417)
This commit is contained in:
committed by
GitHub
parent
5dbe77ecba
commit
cb95d2ae8d
@@ -1,7 +1,9 @@
|
||||
using System.Collections.Generic;
|
||||
using Content.Server.Destructible;
|
||||
using Content.Shared.GameTicking;
|
||||
using Content.Shared.Module;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.IntegrationTests.Tests.Destructible
|
||||
{
|
||||
@@ -11,11 +13,17 @@ namespace Content.IntegrationTests.Tests.Destructible
|
||||
/// </summary>
|
||||
public sealed class TestDestructibleListenerSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IModuleManager _modManager;
|
||||
|
||||
public readonly List<DamageThresholdReached> ThresholdsReached = new();
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
if (_modManager.IsClientModule)
|
||||
return;
|
||||
|
||||
SubscribeLocalEvent<DestructibleComponent, DamageThresholdReached>(AddThresholdsToList);
|
||||
SubscribeLocalEvent<RoundRestartCleanupEvent>(OnRoundRestart);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user