фиксы тестов

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

@@ -19,7 +19,7 @@ public sealed class CultItemSystem : EntitySystem
private void OnHandPickUp(EntityUid uid, CultItemComponent component, GettingPickedUpAttemptEvent args)
{
if (HasComp<CultistComponent>(args.User) || HasComp<GhostComponent>(args.User))
if (HasComp<Components.CultistComponent>(args.User) || HasComp<GhostComponent>(args.User))
return;
args.Cancel();

View File

@@ -9,16 +9,16 @@ public sealed class CultistSystem : EntitySystem
{
base.Initialize();
SubscribeLocalEvent<CultistComponent, ComponentStartup>(OnInit);
SubscribeLocalEvent<CultistComponent, ComponentShutdown>(OnRemove);
SubscribeLocalEvent<Components.CultistComponent, ComponentStartup>(OnInit);
SubscribeLocalEvent<Components.CultistComponent, ComponentShutdown>(OnRemove);
}
private void OnInit(EntityUid uid, CultistComponent component, ComponentStartup args)
private void OnInit(EntityUid uid, Components.CultistComponent component, ComponentStartup args)
{
RaiseLocalEvent(new EventCultistComponentState(true));
}
private void OnRemove(EntityUid uid, CultistComponent component, ComponentShutdown args)
private void OnRemove(EntityUid uid, Components.CultistComponent component, ComponentShutdown args)
{
RaiseLocalEvent(new EventCultistComponentState(false));
}