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

Collecting an apple adds two to the inventory #31

Closed
matt-dray opened this issue Dec 28, 2022 · 1 comment · Fixed by #33
Closed

Collecting an apple adds two to the inventory #31

matt-dray opened this issue Dec 28, 2022 · 1 comment · Fixed by #33
Labels
bug 🐛 Something isn't working

Comments

@matt-dray
Copy link
Owner

An 'a' in the dungeon represents one apple, but two are added to the inventory when you walk over it.

T: Inf | HP: 10 | $: 0 | a: 2
Collected apple (+1 a)
@matt-dray matt-dray added the bug 🐛 Something isn't working label Dec 28, 2022
@matt-dray
Copy link
Owner Author

It's because the apple-collection if statement appears twice in the start_game() loop.

matt-dray added a commit that referenced this issue Jan 2, 2023
* Remove battle bug, introduce new battle bug

* Fix apple bug, close #31; fix battle bug, close #29

* Update setup-r to v2

* update setup-r to v2 in tests and check

* Update setup-r-dependencies to v2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant