diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bestiary.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bestiary.js b/src/bestiary.js index 08b16e1..0bdea04 100644 --- a/src/bestiary.js +++ b/src/bestiary.js @@ -94,7 +94,7 @@ function findForecastMatch(forecast, conditions) { function findNextSpawn(forecast, spawnConditions) { return forecast.find((f) => { - return spawnConditions.includes(forecast.currWeather); + return spawnConditions.includes(f.currWeather); }); } |