Skip to content

Commit

Permalink
[1856] Fix dividends step being skipped when route revenue equals int…
Browse files Browse the repository at this point in the history
…erest payment
  • Loading branch information
crericha committed Oct 9, 2024
1 parent 14a7fee commit 139b608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/engine/game/g_1856/step/dividend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ class Dividend < Engine::Step::Dividend
def actions(entity)
# National must withhold if it never owned a permanent
return [] if entity.corporation? && entity == @game.national && !@game.national_ever_owned_permanent
return [] if entity.company? || routes.empty?

super
Engine::Step::Dividend::ACTIONS
end

def dividend_options(entity)
Expand Down

0 comments on commit 139b608

Please sign in to comment.