mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
Fix error trying to find reorder for anim not found
This commit is contained in:
parent
138ac25019
commit
5bd9bf0ca7
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -95,8 +95,8 @@ namespace Rimworld_Animations {
|
|||
.OrderBy(_ => Rand.Int)
|
||||
.TryMaxBy((GroupAnimationDef x) => x.Priority(participants), out GroupAnimationDef result);
|
||||
|
||||
|
||||
reorder = result.Reorder(participants);
|
||||
|
||||
reorder = result != null ? result.Reorder(participants) : 0;
|
||||
return result;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue