mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 15:27:43 +01:00
Remove 2025 april fools
This commit is contained in:
parent
5eee678899
commit
95bac801b2
1 changed files with 0 additions and 15 deletions
|
|
@ -140,13 +140,6 @@ internal class PluginInstallerWindow : Window, IDisposable
|
||||||
|
|
||||||
private string? staleDalamudNewVersion = null;
|
private string? staleDalamudNewVersion = null;
|
||||||
|
|
||||||
private int? aprilFoolsLineIdx = null;
|
|
||||||
private string[] aprilFoolsLines =
|
|
||||||
[
|
|
||||||
"We sincerely apologize for this year's April Fool's joke.\nWe hope you enjoyed it, and we promise to do better next year.",
|
|
||||||
"Please do not feed the ducks.\nThey are not ducks.",
|
|
||||||
];
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="PluginInstallerWindow"/> class.
|
/// Initializes a new instance of the <see cref="PluginInstallerWindow"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -1620,14 +1613,6 @@ internal class PluginInstallerWindow : Window, IDisposable
|
||||||
ImGuiHelpers.ScaledDummy(10);
|
ImGuiHelpers.ScaledDummy(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DateTime.Now is { Day: 1, Month: 4 })
|
|
||||||
{
|
|
||||||
ImGuiHelpers.ScaledDummy(10);
|
|
||||||
this.aprilFoolsLineIdx ??= new Random().Next(0, this.aprilFoolsLines.Length);
|
|
||||||
DrawLinesCentered(this.aprilFoolsLines[this.aprilFoolsLineIdx.Value]);
|
|
||||||
ImGuiHelpers.ScaledDummy(10);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.staleDalamudNewVersion != null)
|
if (this.staleDalamudNewVersion != null)
|
||||||
{
|
{
|
||||||
DrawWarningIcon();
|
DrawWarningIcon();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue