[x] Add the pins or archive_alpha_games label if this change will break existing games
[x] Code passes linter with docker compose exec rack rubocop -a
[x] Tests pass cleanly with docker compose exec rack rake
Implementation Notes
Explanation of Change
As per notes from @DestrinStorm in issue discussion, the call to lay_tile() from special_track.rb doesn't pass a spender. This means it defaults to trying to spend the money from the tram line, which never has any money to spend, and so will always fail.
The owning major corporation should always pay the cost of a bonus track lay when there is one, the same as it does for any other actions taken by the tram line, e.g. removing / placing tokens.
Fix allows the owning major corp to correctly pay the costs for the bonus yellow tile lay in a hotseat clone of both games flagged in the issue.
Fixes #11315
Before clicking "Create"
master
pins
orarchive_alpha_games
label if this change will break existing gamesdocker compose exec rack rubocop -a
docker compose exec rack rake
Implementation Notes
Explanation of Change
As per notes from @DestrinStorm in issue discussion, the call to lay_tile() from special_track.rb doesn't pass a spender. This means it defaults to trying to spend the money from the tram line, which never has any money to spend, and so will always fail.
The owning major corporation should always pay the cost of a bonus track lay when there is one, the same as it does for any other actions taken by the tram line, e.g. removing / placing tokens.
Fix allows the owning major corp to correctly pay the costs for the bonus yellow tile lay in a hotseat clone of both games flagged in the issue.
Screenshots
Any Assumptions / Hacks