Я скучаю так очень, забери меня срочно
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user