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

undefined ritual description at shop menu #6

Open
AshSimmonds opened this issue Nov 16, 2022 · 2 comments
Open

undefined ritual description at shop menu #6

AshSimmonds opened this issue Nov 16, 2022 · 2 comments

Comments

@AshSimmonds
Copy link
Contributor

Only seen this a couple times, on this instance it was level 9, not sure how to recreate at this stage.

Some random screenshots for reference.

MV5uCkmJ8J

w1vpi57uha

goF5dUkJy2

@SeanScherer
Copy link

Hmm, maybe this is an issue with the Environment (or at least, only manifests itself within a certain Dev environment?).

As mentioned elsewhere I have played a lot of hours over the last couple days, never seen this. (Could be there's certain rituals I don't buy though, and it only happens in conjunction with those? Ie, I only ever once went for "Drunkard" :P).

If you happened to remember which rituals you had, that could possibly be helpful? (P.S. You're pretty heavily maxed out on the Level ups :P !)

@danprince
Copy link
Owner

Pretty sure I've seen this a couple of times too, and my memory was that it happened after buying an item from the shop. Likely something to do with the logic in buy.

selectShopIndex(shop.selectedIndex);

At a quick look, that code looks pretty buggy. selectShopIndex accepts a step to apply to the current index, but buy passes shop.selectedIndex instead of a step like 0.

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

3 participants