Crash fix in town_builder.py, hopefully