Skip to content

Commit

Permalink
[18RoyalGorge] export all 2+ trains at end of first OR set
Browse files Browse the repository at this point in the history
Fixes #11359
  • Loading branch information
michaeljb committed Dec 1, 2024
1 parent e09c60d commit 3a9fda0
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 3a9fda0

Please sign in to comment.