фиксы тестов

This commit is contained in:
Remuchi
2024-01-29 01:02:37 +07:00
parent 6e198dc038
commit b4dd3b0555
139 changed files with 1129 additions and 3837 deletions

View File

@@ -6,6 +6,7 @@ using Content.Shared._White.Cult;
using Robust.Client.Console;
using Robust.Client.Player;
using Robust.Shared.Utility;
using CultistComponent = Content.Shared._White.Cult.Components.CultistComponent;
namespace Content.Client.Chat.Managers
{

View File

@@ -36,6 +36,7 @@ using Robust.Shared.Network;
using Robust.Shared.Replays;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
using CultistComponent = Content.Shared._White.Cult.Components.CultistComponent;
namespace Content.Client.UserInterface.Systems.Chat;

View File

@@ -4,6 +4,7 @@ using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Shared.Enums;
using Robust.Shared.Utility;
using CultistComponent = Content.Shared._White.Cult.Components.CultistComponent;
namespace Content.Client._White.Cult;

View File

@@ -2,6 +2,7 @@
using Robust.Client.Graphics;
using Robust.Client.Player;
using Robust.Shared.Player;
using CultistComponent = Content.Shared._White.Cult.Components.CultistComponent;
namespace Content.Client._White.Cult;

View File

@@ -1,9 +1,9 @@
using System.Linq;
using Content.Client._White.UserInterface.Radial;
using Content.Shared._White.Cult.Runes.Components;
using Content.Shared._White.Cult.UI;
using Robust.Client.GameObjects;
using Robust.Shared.Prototypes;
using ConstructShellComponent = Content.Shared._White.Cult.Components.ConstructShellComponent;
namespace Content.Client._White.Cult.UI.ConstructSelector;

View File

@@ -5,6 +5,7 @@ using Content.Shared._White.Cult.Components;
using Robust.Client.Utility;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
using CultistComponent = Content.Shared._White.Cult.Components.CultistComponent;
namespace Content.Client._White.Cult.UI.SpellSelector;

View File

@@ -36,7 +36,11 @@ public sealed class RadialUIController : UIController, IOnStateEntered<GameplayS
public void OnStateExited(GameplayState state)
{
//_context.OnContextClosed -= Close;
_radialSystem.OnRadialsResponse -= HandleVerbsResponse;
if (_radialSystem != null)
{
_radialSystem.OnRadialsResponse -= HandleVerbsResponse;
}
Close();
}