Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javascript error when plot was never saved and there is a young plant. #12

Open
cookie-crumb opened this issue Jul 20, 2019 · 0 comments

Comments

@cookie-crumb
Copy link

Mature plant are not harvested when a young plant remain and there is no saved plot.
replace
let [seedId, age] = config.savedPlot[y][x];
with
let [seedId, age] = (config.savedPlot.length > 0) ? config.savedPlot[y][x] : [0, 0];

cookie-crumb added a commit to cookie-crumb/cookie-garden-helper that referenced this issue Jul 20, 2019
resolve issue 12 javascript error when plot was never saved and there is a young plant.
lstomberg pushed a commit to lstomberg/cookie-garden-helper that referenced this issue Sep 1, 2020
resolve issue 12 javascript error when plot was never saved and there is a young plant.
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Jan 3, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 13, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 13, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 13, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 13, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 13, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 13, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 14, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 14, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 16, 2021
hyoretsu added a commit to hyoretsu/cookie-garden-helper that referenced this issue Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant