Fix state name in guess message

This commit is contained in:
Chandler Swift 2024-03-07 18:59:06 -06:00
parent 668a5e3dd0
commit 4c7c98bba0
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -194,7 +194,7 @@
if (!city.guessed) { if (!city.guessed) {
city.guessed = true; city.guessed = true;
this.message = `${city.name} (population ${city.pop}) is the ${ordinal_suffix_of(rank + 1)} most populated city in ${this.state}.`; this.message = `${city.name} (population ${city.pop}) is the ${ordinal_suffix_of(rank + 1)} most populated city in ${this.state_name}.`;
this.city_guess = ""; this.city_guess = "";
this.draw(); this.draw();
} else { } else {