refactor: remove april fools stuff

This commit is contained in:
goat 2021-03-31 23:34:11 +02:00
parent e11c209f77
commit 5c78198687
3 changed files with 0 additions and 671 deletions

View file

@ -178,11 +178,6 @@ namespace Dalamud
/// </summary>
internal DirectoryInfo AssetDirectory => new DirectoryInfo(this.StartInfo.AssetDirectory);
/// <summary>
/// Gets April Fools system.
/// </summary>
internal Fools2021 Fools { get; private set; }
/// <summary>
/// Start and initialize Dalamud subsystems.
/// </summary>
@ -260,13 +255,6 @@ namespace Dalamud
}
}
var time = DateTime.Now;
if (time.Day == 1 && time.Month == 4 && time.Year == 2021)
{
this.Fools = new Fools2021(this);
this.InterfaceManager.OnDraw += this.Fools.Draw;
}
this.Data = new DataManager(this.StartInfo.Language);
try
{
@ -369,8 +357,6 @@ namespace Dalamud
{
try
{
this.Fools?.Dispose();
// this must be done before unloading plugins, or it can cause a race condition
// due to rendering happening on another thread, where a plugin might receive
// a render call after it has been disposed, which can crash if it attempts to