Praxxian / RPG-City-Generator

20 stars 10 forks source link

Exporting city does not export business type #13

Closed Dunedain-Sam closed 2 years ago

Dunedain-Sam commented 2 years ago

When using the "Download" button to export a city the businesses are all given BusinessType "[object object]" while exporting the businesses through the businesses tab correctly outputs the type.

Praxxian commented 2 years ago

Good catch. I recently converted to TypeScript, and it looks like a shortcut I took for casting the old business types did not completely work! Fixed.