mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 07:11:53 +00:00
renamed pickingPattern -> getPickingPattern
This commit is contained in:
parent
e50025de6d
commit
a9e8d0848a
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ Gather.prototype.moveToMarine = function (user, mover) {
|
|||
let leader = this.getGatherer(mover);
|
||||
if (leader.team !== "marine" ||
|
||||
!leader.leader ||
|
||||
this.pickingPattern()[this.pickingTurnIndex()] !== "marine") return;
|
||||
this.getPickingPattern()[this.pickingTurnIndex()] !== "marine") return;
|
||||
|
||||
if (user && this.containsUser(user)) {
|
||||
if (this.getGatherer(user).team !== "lobby") return;
|
||||
|
|
Loading…
Reference in a new issue