doombubbles / ascended-upgrades

Mod for infinitely upgradeding BTD6 towers with special Ascended Upgrades
18 stars 13 forks source link

Conflict with Quantum Entanglement "SuperEntanglement". #12

Open jacklollz2 opened 5 months ago

jacklollz2 commented 5 months ago
[21:55:25.634] During invoking native->managed trampoline
[21:55:25.635] [BloonsTD6_Mod_Helper] System.InvalidOperationException: Sequence contains more than one element
   at System.Linq.ThrowHelper.ThrowMoreThanOneElementException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, TSource defaultValue)
   at AscendedUpgrades.Extensions.<>c__DisplayClass3_0.<GetAscendedStacks>b__1(AscendedUpgrade upgrade) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 34
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
   at AscendedUpgrades.Extensions.GetAscendedStacks(Tower tower) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Extensions.cs:line 32
   at AscendedUpgrades.Simulation_GetSimulationBehaviorDiscount.Postfix(Tower tower, Int32 path, Single& __result) in /home/runner/work/ascended-upgrades/ascended-upgrades/AscendedUpgrades/Patches.cs:line 213
   at DMD<Il2CppAssets.Scripts.Simulation.Simulation::GetSimulationBehaviorDiscount>(Simulation this, Tower tower, Int32 path, Int32 tier, Single currentDiscount)
   at (il2cpp -> managed) GetSimulationBehaviorDiscount(IntPtr , IntPtr , Int32 , Int32 , Single , Il2CppMethodInfo* )

Enabling "SuperEntanglement" in the Quantum Entanglement mod causes this.