Fixed variables forgotten by renaming
This commit is contained in:
parent
6615a7db65
commit
18a5fc3321
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function isAgainst(state, playerID) {
|
|||
function compare(gameCoordinatesA, gameCoordinatesB) {
|
||||
var monthIndexA = Flower[gameCoordinatesA.month];
|
||||
var monthIndexB = Flower[gameCoordinatesB.month];
|
||||
if(monthNumberA < monthNumberB) {
|
||||
if(monthIndexA < monthIndexB) {
|
||||
return -1;
|
||||
} else if(monthIndexA > monthIndexB) {
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue