Remove some lingering console.log()s
This commit is contained in:
parent
626d146375
commit
4772d63719
@ -1342,7 +1342,6 @@ export class Level extends LevelInterface {
|
|||||||
if (was_satisfied !== is_satisfied) {
|
if (was_satisfied !== is_satisfied) {
|
||||||
this.sokoban_satisfied[color] = is_satisfied;
|
this.sokoban_satisfied[color] = is_satisfied;
|
||||||
let new_type = TILE_TYPES[is_satisfied ? 'sokoban_floor' : 'sokoban_wall'];
|
let new_type = TILE_TYPES[is_satisfied ? 'sokoban_floor' : 'sokoban_wall'];
|
||||||
console.log(color, this.sokoban_unpressed[color], was_satisfied, is_satisfied, new_type);
|
|
||||||
for (let cell of this.linear_cells) {
|
for (let cell of this.linear_cells) {
|
||||||
let terrain = cell.get_terrain();
|
let terrain = cell.get_terrain();
|
||||||
if ((terrain.type.name === 'sokoban_wall' || terrain.type.name === 'sokoban_floor') &&
|
if ((terrain.type.name === 'sokoban_wall' || terrain.type.name === 'sokoban_floor') &&
|
||||||
@ -2572,8 +2571,6 @@ export class Level extends LevelInterface {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(entry);
|
|
||||||
|
|
||||||
// Undo in reverse order! There's no redo, so it's okay to use the destructive reverse().
|
// Undo in reverse order! There's no redo, so it's okay to use the destructive reverse().
|
||||||
// These toggles go first, since they're the last things to happen in a tic
|
// These toggles go first, since they're the last things to happen in a tic
|
||||||
if (entry.pending_green_toggle) {
|
if (entry.pending_green_toggle) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user