mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
chore: remove defaults
This commit is contained in:
parent
4aa32efd55
commit
a7a4633f2e
2 changed files with 1 additions and 8 deletions
|
|
@ -290,7 +290,7 @@ namespace Dalamud.Configuration.Internal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool ShowTsm { get; set; } = true;
|
public bool ShowTsm { get; set; } = true;
|
||||||
|
|
||||||
public bool? Fools22New { get; set; } = true;
|
public bool? Fools22New { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Load a configuration from the provided path.
|
/// Load a configuration from the provided path.
|
||||||
|
|
|
||||||
|
|
@ -275,13 +275,6 @@ namespace Dalamud
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Log.Information("Loading fools22");
|
Log.Information("Loading fools22");
|
||||||
var timeZone = TimeZoneInfo.Local;
|
|
||||||
var offset = timeZone.GetUtcOffset(DateTime.UtcNow);
|
|
||||||
|
|
||||||
var config = Service<DalamudConfiguration>.Get();
|
|
||||||
config.Fools22New ??= offset.Hours < 1;
|
|
||||||
config.Save();
|
|
||||||
|
|
||||||
this.fools22 = new Fools22();
|
this.fools22 = new Fools22();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue