Skip to content

Commit

Permalink
Merge pull request #11388 from michaeljb/18RoyalGorge-export-2-trains
Browse files Browse the repository at this point in the history
[18RoyalGorge] export all 2+ trains at end of first OR set
  • Loading branch information
ollybh authored Dec 15, 2024
2 parents 8eeb73b + 3a9fda0 commit 9d6d884
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/engine/game/g_18_royal_gorge/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,11 @@ def or_set_finished
@gold_shipped = 0
update_gold_corp_cash!

depot.export! unless @depot.upcoming.empty?
if @depot.upcoming.first&.name == '2+'
depot.export_all!('2+')
elsif !@depot.upcoming.empty?
depot.export!
end
end

def handle_metal_payout(entity)
Expand Down

0 comments on commit 9d6d884

Please sign in to comment.