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

Update for "Fix for -10% and +10% buttons in station's lobby" pull request #5630

Merged
merged 1 commit into from Sep 14, 2023

Conversation

Max5377
Copy link
Contributor

@Max5377 Max5377 commented Sep 14, 2023

Fix for this pull request.

Added minus to commodityChangeAmount in this line:

station:AddCommodityStock(Commodities.hydrogen, commodityChangeAmount)

so demand and in stock decrease is not mixed up for -10% and +10% buttons (-10% decreases in stock and +10% decreases demand).

Updated to fix mixed up behaviour of decreasing in stock and demand of station's goods using +10%/-10% fuel buttons(-10% decreases in stock and +10% decreases demand).
@Web-eWorks Web-eWorks merged commit cda79b9 into pioneerspacesim:master Sep 14, 2023
@Max5377 Max5377 deleted the LobbyFuelButtons-fix branch September 15, 2023 05:24
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.

None yet

2 participants