This commit is contained in:
Evyatar Amitay 2018-05-07 09:19:17 +00:00 committed by GitHub
commit d02a2fe4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4523,6 +4523,7 @@ function fantasyMap() {
// highlight capital cells as it's not allowed to change capital's state that way
states.map(function(s) {
if (s.color === "neutral") {return;}
if (s.capital === "select" || !(s.capital in manors)) {return;}
const capital = s.capital;
const index = manors[capital].cell;
temp.append("path")