Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -28,7 +28,6 @@ public sealed class SpellbookComponent : Component
|
||||
[DataField("instantSpells", customTypeSerializer: typeof(PrototypeIdDictionarySerializer<int, InstantActionPrototype>))]
|
||||
public readonly Dictionary<string, int> InstantSpells = new();
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("learnTime")]
|
||||
public float LearnTime = .75f;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ public sealed class InstantSpawnSpellEvent : InstantActionEvent
|
||||
[DataField("prototype", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string Prototype = default!;
|
||||
|
||||
[ViewVariables, DataField("preventCollide")]
|
||||
[DataField("preventCollide")]
|
||||
public bool PreventCollideWithCaster = true;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user