Я скучаю так очень, забери меня срочно

This commit is contained in:
Remuchi
2024-03-28 00:13:42 +07:00
parent 1076530ad8
commit fa18556a8f
34 changed files with 246 additions and 304 deletions

View File

@@ -44,7 +44,7 @@ public sealed partial class CultRuleComponent : Component
public int PentagramThreshold = 8;
[DataField(customTypeSerializer: typeof(PrototypeIdListSerializer<EntityPrototype>))]
public List<string> StartingItems = [];
public List<string> StartingItems = new() { };
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer<AntagPrototype>))]
public string CultistRolePrototype = "Cultist";
@@ -56,9 +56,9 @@ public sealed partial class CultRuleComponent : Component
public EntityUid? CultTarget;
public List<CultistComponent> CurrentCultists = [];
public List<CultistComponent> CurrentCultists = new() { };
public List<ConstructComponent> Constructs = [];
public List<ConstructComponent> Constructs = new() { };
public CultWinCondition WinCondition;
}

View File

@@ -16,7 +16,7 @@ public sealed class JukeboxSystem : EntitySystem
[Dependency] private readonly SharedHandsSystem _handsSystem = default!;
[Dependency] private readonly PvsOverrideSystem _pvsOverrideSystem = default!;
private readonly List<JukeboxComponent> _playingJukeboxes = [];
private readonly List<JukeboxComponent> _playingJukeboxes = new() { };
private const float UpdateTimerDefaultTime = 1f;
private float _updateTimer;