ollybh / 18xx

A platform for playing 18xx games online!
https://www.18xx.games
Other
0 stars 0 forks source link

DeclineForts step not running at correct point in operating round #106

Closed ollybh closed 5 months ago

ollybh commented 6 months ago

If a minor with fort tokens is exchanged for a share when a major company grows up, the decline fort tokens step should be invoked after the decline tokens and decline trains steps. But this isn't happening – it runs at the start of the next company's operating turn.

ollybh commented 5 months ago

Maybe call @round.clear_cache!?

ollybh commented 5 months ago

Nope, it was the step not being active. Fixed in commit 8d20525d6.