Skip to content

Commit

Permalink
[1840] Cannot pay for track cost as bonus action #11315
Browse files Browse the repository at this point in the history
  • Loading branch information
timpelican committed Nov 10, 2024
1 parent 9cb971c commit 03c3bb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/engine/game/g_1840/step/special_track.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ def potential_tiles(_entity, hex)
end

def process_lay_tile(action)
lay_tile(action)
entity = action.entity
spender = @game.owning_major_corporation(entity)

lay_tile(action, spender: spender)
@round.laid_hexes << action.hex
@round.pending_tile_lays.shift
end
Expand Down

0 comments on commit 03c3bb0

Please sign in to comment.