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

[1841] allows EMR when corp can afford a discarded train #10949

Open
philcampeau opened this issue Jun 22, 2024 · 1 comment · May be fixed by #10962
Open

[1841] allows EMR when corp can afford a discarded train #10949

philcampeau opened this issue Jun 22, 2024 · 1 comment · May be fixed by #10962
Assignees
Labels
1841 bug Prevents game from being played correctly

Comments

@philcampeau
Copy link
Collaborator

philcampeau commented Jun 22, 2024

https://18xx.games/game/167460?action=445

How to Reproduce the Bug?

At this step, the corporation was trainless with L.616 in its treasury. No shares to issue. There was a L.350 4-train discarded in the bank pool, and the next available train was an L.800 6-train.

The player was able to click Buy on the 6-train and contribute the remaining balance. This seems to contradict the EMR rules from the rulebook:

2024-06-21_21-12-35

2024-06-21_21-12-53

@philcampeau philcampeau added 1841 bug Prevents game from being played correctly labels Jun 22, 2024
@philcampeau
Copy link
Collaborator Author

I noticed that in the log, it mentioned [19:59] Sweeping L.184 from Eonthar to SFL (EMR). Looking at the code, it looks like the emergency_assist.rb code is being triggered for EMR, but I suspect that wasn't intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1841 bug Prevents game from being played correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants