fix: defer plugin load until after ImGui has rendered its first frame

This commit is contained in:
goat 2021-04-26 22:22:11 +02:00
parent f6548fbec7
commit 51e81d8dfd
No known key found for this signature in database
GPG key ID: F18F057873895461
3 changed files with 43 additions and 28 deletions

View file

@ -134,6 +134,9 @@ namespace Dalamud.Game.Internal {
if (!this.dalamud.IsReady)
this.dalamud.StartSubsystems();
if (!this.dalamud.IsLoadedPluginSystem && this.dalamud.InterfaceManager.IsReady)
this.dalamud.LoadPluginSystem();
try {
Gui.Chat.UpdateQueue(this);
Gui.Toast.UpdateQueue();