Skip to content

Commit

Permalink
Merge pull request #368 from JonathanFeenstra/fix-loadasync-duplicatekey
Browse files Browse the repository at this point in the history
[Fix]: Clear mods by code data before (re)loading to prevent duplicate key errors
  • Loading branch information
Monitor221hz authored Dec 1, 2024
2 parents 6820906 + 9f562f5 commit b99c519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Pandora Behaviour Engine/ViewModels/EngineViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public async Task LoadAsync()
var launchDirectory = BehaviourEngine.AssemblyDirectory.FullName;
ModViewModels.Clear();
Mods.Clear();
modsByCode.Clear();
var pluginsTask = SetupConfigurationOptions();
List<IModInfo> modInfoList;
{
Expand Down

0 comments on commit b99c519

Please sign in to comment.