mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-29 15:42:18 +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);
|
let leader = this.getGatherer(mover);
|
||||||
if (leader.team !== "marine" ||
|
if (leader.team !== "marine" ||
|
||||||
!leader.leader ||
|
!leader.leader ||
|
||||||
this.pickingPattern()[this.pickingTurnIndex()] !== "marine") return;
|
this.getPickingPattern()[this.pickingTurnIndex()] !== "marine") return;
|
||||||
|
|
||||||
if (user && this.containsUser(user)) {
|
if (user && this.containsUser(user)) {
|
||||||
if (this.getGatherer(user).team !== "lobby") return;
|
if (this.getGatherer(user).team !== "lobby") return;
|
||||||
|
|
Loading…
Reference in a new issue