Add documentation and CHANGELOG

Modify error message
This commit is contained in:
GRL 2021-07-07 17:06:23 +02:00
parent 41c60579a6
commit 64c569c42f
3 changed files with 4 additions and 7 deletions

View file

@ -239,11 +239,7 @@ export class GameMap {
console.error("The tile '" + tile + "' that you want to place doesn't exist.");
}
} else {
console.error(
"The layer '" +
layer +
"' that you want to change is not a tilelayer. Tile can only be put in tilelayer."
);
console.error("The layer '" + layer + "' does not exist (or is not a tilelaye).");
}
}