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

change user quest.progress.collect to quest.progress.collectedItems #7612

Merged
merged 16 commits into from
Jun 6, 2016

Conversation

Alys
Copy link
Contributor

@Alys Alys commented Jun 5, 2016

@Alys Alys changed the title change user quest.progress.collect to quest.progress.collectedItems -… change user quest.progress.collect to quest.progress.collectedItems Jun 5, 2016
@@ -117,7 +117,10 @@ function _cleanQuestProgress (merge) {
progress: {
up: 0,
down: 0,
collect: 0,
collect: {type: Schema.Types.Mixed, default: () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong. Leaving a note to elaborate in a minute.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be changed to:

collect: {},
collectedItems: 0,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Fixed.

@crookedneighbor crookedneighbor merged commit 0a10b2b into HabitRPG:develop Jun 6, 2016
@Alys Alys deleted the quest-collect-fix branch April 5, 2018 03:41
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

Successfully merging this pull request may close these issues.

2 participants