Most voted captain gets 2nd pick as alien fixes #39

This commit is contained in:
Chris Blanchard 2015-09-20 00:50:03 +01:00
parent e13faee4cd
commit cd1ca3ec23

View file

@ -101,8 +101,8 @@ StateMachine.create({
rank.sort((a, b) => {
return a.count - b.count;
});
this.assignMarineLeader(parseInt(rank.pop().candidate, 0));
this.assignAlienLeader(parseInt(rank.pop().candidate, 0));
this.assignMarineLeader(parseInt(rank.pop().candidate, 0));
},
onbeforeconfirmSelection: (event, from, to, leader) => {