Skip to content

Changing from Kleptocracy to Democracy Generates Error #795

@deplorabletomato

Description

@deplorabletomato

Describe the bug

After I changed the government of my town from a kleptocracy to a democracy, it generated the following message:

Error: <>: bad evaluation: Cannot read properties of undefined (reading 'key')
<<print setup.getPoliticalSourceDescription($town)>>

To Reproduce (bugs MUST be replicable)

https://eigengrausgenerator.com/?seed=knowledgeablenovelcanary#TownOutput

Page to navigate to, buttons to press, etc:

I'm in the town output page, in the detailed view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions