Change `GetPryTimeModifierEvent.BaseTime` to the TimeSpan (#40419)

* Cleanup

* Update
This commit is contained in:
Winkarst-cpu
2025-09-17 16:03:51 +03:00
committed by GitHub
parent 599b962234
commit 0dd1733998
3 changed files with 4 additions and 4 deletions

View File

@@ -264,8 +264,8 @@ public sealed partial class DoorComponent : Component
/// <summary>
/// Default time that the door should take to pry open.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float PryTime = 1.5f;
[DataField]
public TimeSpan PryTime = TimeSpan.FromSeconds(1.5f);
[DataField]
public bool ChangeAirtight = true;