Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions EXILED/Exiled.API/Features/Roles/Scp939Role.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace Exiled.API.Features.Roles
using System.Collections.Generic;

using Exiled.API.Enums;
using Exiled.API.Features.Pools;

using PlayerRoles;
using PlayerRoles.PlayableScps;
Expand Down Expand Up @@ -85,11 +84,6 @@ internal Scp939Role(Scp939GameRole baseRole)
MimicPointController = EnvironmentalMimicry._mimicPoint;
}

/// <summary>
/// Finalizes an instance of the <see cref="Scp939Role"/> class.
/// </summary>
~Scp939Role() => ListPool<Player>.Pool.Return(VisiblePlayers);

/// <inheritdoc/>
public override RoleTypeId Type { get; } = RoleTypeId.Scp939;

Expand Down Expand Up @@ -236,11 +230,6 @@ public float MimicryCooldown
/// </summary>
public Vector3? MimicryPointPosition => MimicPointController.Active ? MimicPointController.MimicPointTransform.position : null;

/// <summary>
/// Gets a list of players this SCP-939 instance can see regardless of their movement.
/// </summary>
public List<Player> VisiblePlayers { get; } = ListPool<Player>.Pool.Get();

/// <summary>
/// Gets the <see cref="Scp939GameRole"/> instance.
/// </summary>
Expand Down
Loading