Fixed variables forgotten by renaming

This commit is contained in:
Tissevert 2020-02-04 13:23:12 +01:00
parent 6615a7db65
commit 18a5fc3321
1 changed files with 1 additions and 1 deletions

View File

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