Revert gpose actors on plugin unload or when NoSnap triggers

This commit is contained in:
Loporrit
2025-07-25 18:11:16 +00:00
parent 9fd390caab
commit 924a3803d9
7 changed files with 165 additions and 7 deletions

View File

@@ -75,6 +75,19 @@ public class PluginWatcherService : MediatorSubscriberBase
Logger.LogError(e, "PluginWatcherService exception");
}
});
// Continue scanning plugins during gpose as well
Mediator.Subscribe<CutsceneFrameworkUpdateMessage>(this, (_) =>
{
try
{
Update();
}
catch (Exception e)
{
Logger.LogError(e, "PluginWatcherService exception");
}
});
}
private void Update()