Rails-18xx / Rails

Rails 18xx Java Application Main Repository
GNU General Public License v2.0
36 stars 22 forks source link

18EU: Reserved hex isn't inherited #546

Open jdgalt opened 9 months ago

jdgalt commented 9 months ago

In this saved game, John formed the major company FS and merged minor company #10 into it while one of the minor company's reserved hexes, U6, was still unbuilt. Result: Rails will not permit FS to lay track there.

I'm not sure whether reserved hexes are supposed to remain reserved after the minor company that owns them closes -- but if they are, the successor company should certainly inherit the right, rather than the hex becoming unbuildable by anybody which is what has happened here.

erik-vos commented 8 months ago

Sorry, but I cannot find a saved game.

jdgalt commented 8 months ago

The web site says ".rails" is not a supported file type. So I've zipped it.

18EU_20240114_2207_StockRound 3.zip

erik-vos commented 8 months ago

Thanks, I will look into it.

erik-vos commented 8 months ago

I have added code to fix this issue. Reserved hexes will be "freed" when the reserving minor closes, which seems the most reasonable solution to me.