Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
philcampeau committed Sep 16, 2024
1 parent 59ab8d7 commit b7f9d89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/engine/game/g_steam_over_holland/entities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module Entities
type: 'train_discount',
discount: 0.1,
trains: %w[3 4 5],
when: 'buy_train',
when: 'buying_train',
owner_type: 'corporation',
},
],
Expand Down
1 change: 0 additions & 1 deletion lib/engine/game/g_steam_over_holland/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ def redeemable_shares(entity)

def emergency_issuable_bundles(entity)
return [] if @round.issued_shares[entity]
return [] if entity.all_abilities.find { |a| a.type == :train_discount } && entity.cash >= @depot.min_depot_price * 0.9

num_shares = [entity.num_player_shares, 5 - entity.num_market_shares].min

Expand Down

0 comments on commit b7f9d89

Please sign in to comment.