Morgue system refactor remove unused VVs and into Entity (#31835)

* Remove unused VVs params and usings
from entityUid, MorgueComponent into Entity<MorgueComponent> ent

* remove unnecesary VVs cuz datafields add em
This commit is contained in:
Token
2024-09-04 20:30:21 +05:00
committed by GitHub
parent 7b92b1da1d
commit 8588517e45
2 changed files with 6 additions and 9 deletions

View File

@@ -9,19 +9,18 @@ public sealed partial class MorgueComponent : Component
/// <summary>
/// Whether or not the morgue beeps if a living player is inside.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("doSoulBeep")]
[DataField]
public bool DoSoulBeep = true;
[ViewVariables]
[DataField]
public float AccumulatedFrameTime = 0f;
/// <summary>
/// The amount of time between each beep.
/// </summary>
[ViewVariables]
[DataField]
public float BeepTime = 10f;
[DataField("occupantHasSoulAlarmSound")]
[DataField]
public SoundSpecifier OccupantHasSoulAlarmSound = new SoundPathSpecifier("/Audio/Weapons/Guns/EmptyAlarm/smg_empty_alarm.ogg");
}