Reset if Mr Croc left architecture.

This commit is contained in:
Mal
2020-02-10 19:53:30 +01:00
parent b58cb552c8
commit 3be3ffb89a
3 changed files with 30 additions and 4 deletions

View File

@@ -80,8 +80,6 @@ export default class Terrain
tr.appendChild(td);
}
console.log(row.length);
if (index === undefined || index >= this.tilesY - 1) {
this.fields.push(row);
this.htmlElement.appendChild(tr);