Skip to content

Commit

Permalink
Merge pull request tobymao#10095 from benjaminxscott/18GB_receivershi…
Browse files Browse the repository at this point in the history
…p_lease

[18GB] receivership corps can't lease a train if there are none
  • Loading branch information
michaeljb authored Jan 7, 2024
2 parents 4499f4f + fd4e1cd commit d5e0e80
Show file tree
Hide file tree
Showing 2 changed files with 12,139 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engine/game/g_18_gb/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def legal_tile_rotation?(_entity, _hex, tile)
def route_trains(entity)
return super unless insolvent?(entity)

[@depot.min_depot_train]
@depot.upcoming.empty? ? [] : [@depot.min_depot_train]
end

def express_train?(train)
Expand Down
Loading

0 comments on commit d5e0e80

Please sign in to comment.