mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-21 19:21:13 +00:00
Most voted captain gets 2nd pick as alien fixes #39
This commit is contained in:
parent
e13faee4cd
commit
cd1ca3ec23
1 changed files with 1 additions and 1 deletions
|
@ -101,8 +101,8 @@ StateMachine.create({
|
||||||
rank.sort((a, b) => {
|
rank.sort((a, b) => {
|
||||||
return a.count - b.count;
|
return a.count - b.count;
|
||||||
});
|
});
|
||||||
this.assignMarineLeader(parseInt(rank.pop().candidate, 0));
|
|
||||||
this.assignAlienLeader(parseInt(rank.pop().candidate, 0));
|
this.assignAlienLeader(parseInt(rank.pop().candidate, 0));
|
||||||
|
this.assignMarineLeader(parseInt(rank.pop().candidate, 0));
|
||||||
},
|
},
|
||||||
|
|
||||||
onbeforeconfirmSelection: (event, from, to, leader) => {
|
onbeforeconfirmSelection: (event, from, to, leader) => {
|
||||||
|
|
Loading…
Reference in a new issue