-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
Equipment market sign error #5071
Labels
Comments
To be more accurate, here are steps to reproduce:
The expected behavior is for the count to decrease where in the above description it increases and vice versa. |
It's because count variable is already negative, easy fix, thanks for reporting |
impaktor
added a commit
to impaktor/pioneer
that referenced
this issue
Dec 12, 2020
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
fix confirmed, thank you! |
Web-eWorks
pushed a commit
that referenced
this issue
Dec 12, 2020
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 #5071
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Observed behaviour
The number of an item in stock decreases when it is sold / increases when it is built into the ship
Expected behaviour
clear
My pioneer version (and OS):
20201211 master on SuSE Linux
The text was updated successfully, but these errors were encountered: