refactor
This commit is contained in:
@@ -12,13 +12,13 @@ public enum DoorType
|
||||
|
||||
public class DoorLockConfiguration
|
||||
{
|
||||
public Dictionary<DoorType, float> LockDurations { get; set; }= new()
|
||||
public Dictionary<DoorType, float> LockDurations { get; set; } = new()
|
||||
{
|
||||
{ DoorType.Normal, 5f },
|
||||
{ DoorType.Gate, 8f },
|
||||
{ DoorType.Checkpoint, 3f }
|
||||
};
|
||||
|
||||
|
||||
public static DoorType GetDoorType(DoorVariant door)
|
||||
{
|
||||
Logger.Debug("Door name: " + door.name);
|
||||
|
||||
Reference in New Issue
Block a user