From 3a9fda0f2337dc6640618aecd3936fdf875c3de1 Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Sun, 1 Dec 2024 13:08:10 -0700 Subject: [PATCH] [18RoyalGorge] export all 2+ trains at end of first OR set Fixes #11359 --- lib/engine/game/g_18_royal_gorge/game.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/engine/game/g_18_royal_gorge/game.rb b/lib/engine/game/g_18_royal_gorge/game.rb index 3689a6a30b..85c619b14c 100644 --- a/lib/engine/game/g_18_royal_gorge/game.rb +++ b/lib/engine/game/g_18_royal_gorge/game.rb @@ -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)