Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace Content.Server.GameTicking.Rules.Components;
|
||||
|
||||
[RegisterComponent, Access(typeof(PiratesRuleSystem))]
|
||||
public sealed class PiratesRuleComponent : Component
|
||||
public sealed partial class PiratesRuleComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public List<Mind.Mind> Pirates = new();
|
||||
@@ -18,7 +18,7 @@ public sealed class PiratesRuleComponent : Component
|
||||
/// Path to antagonist alert sound.
|
||||
/// </summary>
|
||||
[DataField("pirateAlertSound")]
|
||||
public readonly SoundSpecifier PirateAlertSound = new SoundPathSpecifier(
|
||||
public SoundSpecifier PirateAlertSound = new SoundPathSpecifier(
|
||||
"/Audio/Ambience/Antag/pirate_start.ogg",
|
||||
AudioParams.Default.WithVolume(4));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user