Skip to content

Commit

Permalink
Merge pull request #334 from Monitor221hz/mod-priority-fix
Browse files Browse the repository at this point in the history
[Fix]: Mod priorities not being applied to xml patching, causing animation bugs on large modlists
  • Loading branch information
Monitor221hz authored Oct 25, 2024
2 parents bdfe51a + ec878ab commit 9cb8e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Pandora Behaviour Engine/ViewModels/EngineViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,9 @@ private async void LaunchEngine(object? parameter)
Stopwatch timer = Stopwatch.StartNew();
await preloadTask;
await WriteLogBoxLine("Preload finished.");
AssignModPrioritiesFromViewModels(ModViewModels);
List<IModInfo> activeMods = GetActiveModsByPriority();

IModInfo? baseModInfo = Mods.Where(m => m.Code == "pandora").FirstOrDefault();

if (baseModInfo == null) { await WriteLogBoxLine("FATAL ERROR: Pandora Base does not exist. Ensure the engine was installed properly and data is not corrupted."); return; }
Expand Down

0 comments on commit 9cb8e11

Please sign in to comment.