Skip to content

Commit

Permalink
Merge pull request #11377 from ollybh/1861-issue-11246
Browse files Browse the repository at this point in the history
[1861/1867] Restart major companies with 70% ownership limit in two-player games
  • Loading branch information
ollybh authored Dec 15, 2024
2 parents 9050a5b + 94c7deb commit 981f176
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/engine/game/g_1867/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,14 @@ def nationalize!(corporation)
end
end

def reset_corporation(corporation)
corp = super
# When a major is restarted it defaults to a 60% ownership limit.
# This is wrong for the two-player variants.
corp.max_ownership_percent = 70 if @players.size == 2
corp
end

def place_639_token(tile)
return unless @national_reservations.any?
return if tile.cities.any? { |c| c.tokened_by?(@national) }
Expand Down

0 comments on commit 981f176

Please sign in to comment.