mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
fix (DalamudCreditsWindow): load plugin credits in OnOpen instead of
This commit is contained in:
parent
74a0cbb034
commit
f6548fbec7
1 changed files with 5 additions and 5 deletions
|
|
@ -112,11 +112,6 @@ Thank you for using XIVLauncher and Dalamud!
|
|||
Path.Combine(this.dalamud.AssetDirectory.FullName, "UIRes", "logo.png"));
|
||||
this.framework = dalamud.Framework;
|
||||
|
||||
var pluginCredits = dalamud.PluginManager.Plugins.Where(x => x.Definition != null).Aggregate(string.Empty, (current, plugin) => current + $"{plugin.Definition.Name} by {plugin.Definition.Author}\n");
|
||||
|
||||
this.creditsText =
|
||||
string.Format(CreditsTextTempl, typeof(Dalamud).Assembly.GetName().Version, pluginCredits);
|
||||
|
||||
this.Size = new Vector2(500, 400);
|
||||
this.SizeCondition = ImGuiCond.Always;
|
||||
|
||||
|
|
@ -129,6 +124,11 @@ Thank you for using XIVLauncher and Dalamud!
|
|||
{
|
||||
base.OnOpen();
|
||||
|
||||
var pluginCredits = this.dalamud.PluginManager.Plugins.Where(x => x.Definition != null).Aggregate(string.Empty, (current, plugin) => current + $"{plugin.Definition.Name} by {plugin.Definition.Author}\n");
|
||||
|
||||
this.creditsText =
|
||||
string.Format(CreditsTextTempl, typeof(Dalamud).Assembly.GetName().Version, pluginCredits);
|
||||
|
||||
this.framework.Gui.SetBgm(132);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue