remove console.log output and obsolete comments

This commit is contained in:
Zutatensuppe 2021-04-27 22:59:01 +02:00
parent d2de582c95
commit cc6eb8ebbc

View file

@ -613,7 +613,6 @@ async function main() {
PIECE_VIEW_LOOSE = !PIECE_VIEW_LOOSE
RERENDER = true
}
console.log(PIECE_VIEW_FIXED, PIECE_VIEW_LOOSE)
})
const evts = new EventAdapter(canvas, window, viewport)
@ -880,12 +879,10 @@ async function main() {
for (let tile of tiles) {
if (tile.owner === -1) {
// piece is fixed...
if (!PIECE_VIEW_FIXED) {
continue;
}
} else {
// not finished
if (!PIECE_VIEW_LOOSE) {
continue;
}