removed TryGetSound + made some SoundSpecifier datafields required
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Content.Server.Explosion.Components
|
||||
public override string Name => "SoundOnTrigger";
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("sound")]
|
||||
[DataField("sound", required: true)]
|
||||
public SoundSpecifier? Sound { get; set; } = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user