mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
parent
262c5c037e
commit
6f645fa48f
1 changed files with 1 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ Formation.prototype.GetMemberClassCombinations = function(ent)
|
|||
const classes = Engine.QueryInterface(ent, IID_Identity).GetClassesList();
|
||||
|
||||
const matchedClassCombination = Array.from(this.allMatchingClassCombinations).find(classCombination =>
|
||||
MatchesClassList(classCombination)
|
||||
MatchesClassList(classes, classCombination)
|
||||
) || this.UNSORTED_CLASS_COMBINATION;
|
||||
|
||||
this.memberClassCombinationCache.set(ent, matchedClassCombination);
|
||||
|
|
|
|||
Loading…
Reference in a new issue