renamed pickingPattern -> getPickingPattern

This commit is contained in:
AngelRionCervi 2019-06-10 09:50:43 +02:00
parent e50025de6d
commit a9e8d0848a

View file

@ -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;