Skip to content

[1824] Strange message when disabling auto-actions after mining company exchanged #12027

@ollybh

Description

@ollybh

Auto-actions in a stock round are disabled when another player exchanges a mine company for the presidency of a regional railway.

It is right that this exchange is classed as a shenanigan and auto-actions are disabled. However the message isn't very informative:

Disabled programmed action 'Buy BK from IPO until floated' due to 'Unknown action special_buy disabling for safety'

It would be better to implement a custom action_is_shenanigan? method and catch this type of action and output an improved log message.

Metadata

Metadata

Assignees

Labels

1824auto actionsProblems/requests relating to auto(programmed) actionsminor bugA minor bug that doesn't impact game play (erronous logging)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions