Skip to content

Commit

Permalink
Add better support for different duel types. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicguru authored Nov 5, 2024
1 parent ad20960 commit 9e214c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/1.5/AnimationMod/Controller/ActionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ public static AnimDef TryGetDuelAnimationFor(Thing a, Thing b, out bool? focusOn
var inA = new ReqInput(a.def);
var inB = new ReqInput(b.def);

foreach (var anim in AnimDef.GetDefsOfType(AnimType.Duel))
foreach (var anim in AnimDef.GetDefsOfType(AnimType.Duel).OrderByDescending(def => def.Probability))
{
if (anim.weaponFilter == null)
continue;
Expand Down

0 comments on commit 9e214c0

Please sign in to comment.