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

Fix equipment market widget not updating stock properly #5072

Merged

Conversation

impaktor
Copy link
Member

  1. The third argument to bought/sold wasn't passed, instead the member variable was used directly in the body, also shortened the code a bit.

  2. When selling/buying from ship equipment market, it defaulted to -1 units, should be 1.

I've tested ship equipment market and commodity market (both buying/selling 1, 10, units and also negatively priced commodities), and goodstrader on the BBS.

Closes #5071

1. The third argument to bought/sold wasn't passed correctly, instead the nil
valued member variable was used

2. When selling/buying from ship equipment market, it defaulted to -1 units,
should be 1.

Closes pioneerspacesim#5071
@Web-eWorks Web-eWorks merged commit f371fca into pioneerspacesim:master Dec 12, 2020
@impaktor impaktor deleted the fix_invertd_buysel_stock branch December 13, 2020 07:00
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.

Equipment market sign error
2 participants