Skip to content

Commit

Permalink
Merge pull request #11387 from michaeljb/18RoyalGorge-small-fixes
Browse files Browse the repository at this point in the history
[18RoyalGorge] fix name for private Y5, and fix a typo
  • Loading branch information
ollybh authored Dec 15, 2024
2 parents 6e47cbe + 0d221f0 commit 8eeb73b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/engine/game/g_18_royal_gorge/entities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module Entities
},
{
sym: 'Y5',
name: 'Territorial Prison (Y5)',
name: 'Colorado State Prison (Y5)',
desc: 'If a corporation owns the prison, they may use prison labor to build in any terrain at 1/2 price. '\
'Closes when the first 5+ train is purchased.',
value: 70,
Expand Down
2 changes: 1 addition & 1 deletion lib/engine/game/g_18_royal_gorge/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def game_end_check_values
end

def game_end_check
# save the result so that the apparent endgame tirgger doesn't change,
# save the result so that the apparent endgame trigger doesn't change,
# but keep checking for bankruptcy
reason, after = super
@game_end_reason = reason if !@game_end_reason || (reason == :bankrupt)
Expand Down

0 comments on commit 8eeb73b

Please sign in to comment.