Fix some config options not being shown properly

This commit is contained in:
jvyden 2022-01-14 22:30:29 -05:00 committed by GitHub
commit a47c6892c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ namespace LBPUnion.ProjectLighthouse.Types.Settings
public class ServerSettings
{
public const int CurrentConfigVersion = 15; // MUST BE INCREMENTED FOR EVERY CONFIG CHANGE!
public const int CurrentConfigVersion = 16; // MUST BE INCREMENTED FOR EVERY CONFIG CHANGE!
static ServerSettings()
{
if (ServerStatics.IsUnitTesting) return; // Unit testing, we don't want to read configurations here since the tests will provide their own
@ -103,11 +103,11 @@ namespace LBPUnion.ProjectLighthouse.Types.Settings
public string GoogleAnalyticsId { get; set; } = "";
public bool BlockDeniedUsers = true;
public bool BlockDeniedUsers { get; set; } = true;
public bool BooingEnabled = true;
public bool BooingEnabled { get; set; } = true;
public bool VitaCreateMode = false;
public bool VitaCreateMode { get; set; } = false;
#region Meta
@ -122,4 +122,4 @@ namespace LBPUnion.ProjectLighthouse.Types.Settings
#endregion Meta
}
}
}