Skip to content

Commit

Permalink
Merge pull request #10145 from magnusstjarnhild/bug/1866-split-error
Browse files Browse the repository at this point in the history
[1866] Split error and move to beta
  • Loading branch information
michaeljb authored Jan 20, 2024
2 parents 2416279 + 7bb075e commit 1b6cb33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engine/game/g_1866/meta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module G1866
module Meta
include Game::Meta

DEV_STAGE = :alpha
DEV_STAGE = :beta
PROTOTYPE = true

GAME_SUBTITLE = 'Railways of Europe'
Expand Down
2 changes: 2 additions & 0 deletions lib/engine/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ def find_pairwise_chain(chains_a, chains_b, other_paths)
end

def find_matching_chains(hex_ids)
return [] if !hex_ids || hex_ids.empty?

start_hex = @game.hex_by_id(hex_ids.first.split.first)
end_hex = @game.hex_by_id(hex_ids.last.split.first)
matching = []
Expand Down

0 comments on commit 1b6cb33

Please sign in to comment.