fix: only display embarassing message if being held by plugins

This commit is contained in:
Aireil 2022-09-13 17:56:55 +02:00
parent 9bf714b6ba
commit 453c417422
No known key found for this signature in database
GPG key ID: EA9CA38B48706D3D

View file

@ -338,7 +338,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
throw new ArgumentOutOfRangeException(); throw new ArgumentOutOfRangeException();
} }
if (DateTime.Now - this.timeLoaded > TimeSpan.FromSeconds(90) && isWaitingManager) if (DateTime.Now - this.timeLoaded > TimeSpan.FromSeconds(90) && !pluginManager.PluginsReady)
{ {
ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudRed); ImGui.PushStyleColor(ImGuiCol.Text, ImGuiColors.DalamudRed);
ImGuiHelpers.CenteredText("This is embarrassing, but..."); ImGuiHelpers.CenteredText("This is embarrassing, but...");