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

[BUG] Shops do not update when multiple players are observing them #279

Closed
src52 opened this issue Mar 23, 2021 · 0 comments · Fixed by #280
Closed

[BUG] Shops do not update when multiple players are observing them #279

src52 opened this issue Mar 23, 2021 · 0 comments · Fixed by #280
Labels
bug Something isn't working

Comments

@src52
Copy link
Contributor

src52 commented Mar 23, 2021

Describe the bug
When two players open a shop, the shop interface does not properly update when a purchase or sale is made to the shop. The other player is not made aware of it, and can still buy the amount of items that they see in the shop, even if it doesn't reflect the actual amount available to purchase.

To Reproduce
Steps to reproduce the behavior:

  1. Log into two accounts
  2. Open the same shop
  3. Buy or sell an item

Expected behavior
Both observers should instantly see the changes made to the Subject ItemContainer.

@src52 src52 added the bug Something isn't working label Mar 23, 2021
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