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 buying president share from market #1637

Merged

Conversation

crericha
Copy link
Collaborator

Fix for #1469. First verify the player has a share and is thus able to exchange for the president's share. Then update the president's share bundle to a 10% partial when being bought out of the market, so the exchange logic works correctly. This fix also removes the old logic that didn't work correctly.

lib/engine/share_pool.rb Outdated Show resolved Hide resolved
@tobymao
Copy link
Owner

tobymao commented Sep 10, 2020 via email

@tobymao tobymao merged commit 3fc82f2 into tobymao:master Sep 11, 2020
@crericha crericha deleted the fix-buying-president-share-from-market branch November 8, 2020 20:48
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

3 participants