Я скучаю так очень, забери меня срочно
This commit is contained in:
@@ -16,8 +16,8 @@ public sealed class PuddleDebugDebugOverlaySystem : SharedPuddleDebugOverlaySyst
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly SharedMapSystem _map = default!;
|
||||
|
||||
private readonly HashSet<ICommonSession> _playerObservers = [];
|
||||
private List<Entity<MapGridComponent>> _grids = [];
|
||||
private readonly HashSet<ICommonSession> _playerObservers = new() { };
|
||||
private List<Entity<MapGridComponent>> _grids = new() { };
|
||||
|
||||
public bool ToggleObserver(ICommonSession observer)
|
||||
{
|
||||
|
||||
@@ -66,13 +66,13 @@ public sealed partial class PuddleSystem : SharedPuddleSystem
|
||||
[ValidatePrototypeId<ReagentPrototype>]
|
||||
private const string CopperBlood = "CopperBlood";
|
||||
|
||||
private static string[] _standoutReagents = [Blood, Slime, CopperBlood];
|
||||
private static string[] _standoutReagents = {Blood, Slime, CopperBlood};
|
||||
|
||||
public static readonly float PuddleVolume = 1000;
|
||||
|
||||
// Using local deletion queue instead of the standard queue so that we can easily "undelete" if a puddle
|
||||
// loses & then gains reagents in a single tick.
|
||||
private HashSet<EntityUid> _deletionQueue = [];
|
||||
private HashSet<EntityUid> _deletionQueue = new() { };
|
||||
|
||||
private EntityQuery<PuddleComponent> _puddleQuery;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user