-
Notifications
You must be signed in to change notification settings - Fork 19
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
Comments
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
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];
The text was updated successfully, but these errors were encountered: