removed TryGetSound + made some SoundSpecifier datafields required
This commit is contained in:
@@ -69,11 +69,11 @@ namespace Content.Shared.Light.Component
|
||||
protected string IconStateLit { get; set; } = string.Empty;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("litSound")]
|
||||
[DataField("litSound", required: true)]
|
||||
protected SoundSpecifier LitSound { get; set; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("loopedSound")]
|
||||
[DataField("loopedSound", required: true)]
|
||||
public string LoopedSound { get; set; } = string.Empty;
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
Reference in New Issue
Block a user