mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-03 18:48:40 +00:00
Fix some config options not being shown properly
This commit is contained in:
parent
9acbd4b4a5
commit
a47c6892c3
1 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ namespace LBPUnion.ProjectLighthouse.Types.Settings
|
||||||
public class ServerSettings
|
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()
|
static ServerSettings()
|
||||||
{
|
{
|
||||||
if (ServerStatics.IsUnitTesting) return; // Unit testing, we don't want to read configurations here since the tests will provide their own
|
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 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
|
#region Meta
|
||||||
|
|
||||||
|
@ -122,4 +122,4 @@ namespace LBPUnion.ProjectLighthouse.Types.Settings
|
||||||
#endregion Meta
|
#endregion Meta
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue