diff --git a/assets/app/view/game/discard_trains.rb b/assets/app/view/game/discard_trains.rb index 25f7e1b70f..9df0413e70 100644 --- a/assets/app/view/game/discard_trains.rb +++ b/assets/app/view/game/discard_trains.rb @@ -39,8 +39,9 @@ def render &.include?('scrap_train') overflow << h(Map, game: @game) if @game.round.is_a?(Engine::Round::Operating) + discard_description = step.description h(:div, [ - h(:h3, 'Discard Trains'), + h(:h3, discard_description), *overflow, ]) end diff --git a/lib/engine/game/g_18_ny/step/discard_train.rb b/lib/engine/game/g_18_ny/step/discard_train.rb index 668dbb2d93..8d5cdfcd73 100644 --- a/lib/engine/game/g_18_ny/step/discard_train.rb +++ b/lib/engine/game/g_18_ny/step/discard_train.rb @@ -10,6 +10,10 @@ class DiscardTrain < Engine::Step::DiscardTrain def process_discard_train(action) @game.salvage_train(action.train) end + + def description + 'Salvage Excess Trains' + end end end end diff --git a/lib/engine/step/discard_train.rb b/lib/engine/step/discard_train.rb index 6a36213b26..1a4cfc633c 100644 --- a/lib/engine/step/discard_train.rb +++ b/lib/engine/step/discard_train.rb @@ -23,7 +23,7 @@ def active? end def description - 'Discard Train' + 'Discard Trains' end def process_discard_train(action)