X Tutup
Skip to content

Fix equipment market widget not updating stock properly#5072

Merged
sturnclaw merged 1 commit intopioneerspacesim:masterfrom
impaktor:fix_invertd_buysel_stock
Dec 12, 2020
Merged

Fix equipment market widget not updating stock properly#5072
sturnclaw merged 1 commit intopioneerspacesim:masterfrom
impaktor:fix_invertd_buysel_stock

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
@sturnclaw sturnclaw 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

X Tutup