Samasaur1 / CityManagement

A text-based city management game
3 stars 7 forks source link

Added ability for multipart last names and city names #40

Closed eknuth1002 closed 5 years ago

eknuth1002 commented 5 years ago

Previously next() was being used, which caused the bug of not being able to choose if you want to name the citizens or not if a multipart name was used for the city. Changed to nextLine() for city name and last name. First names still have this issue, but I do not know if the names should be allowed to be multipart or if the buffer should just be cleared.