Don't gripe about VFX erasing each other; that's a feature

This commit is contained in:
Eevee (Evelyn Woods) 2021-01-05 21:04:09 -07:00
parent 04e350b624
commit 0ba112aec5
2 changed files with 3 additions and 2 deletions

View File

@ -157,7 +157,9 @@ export class Cell extends Array {
_add(tile) {
let index = tile.type.layer;
if (this[index]) {
console.error("ATTEMPTING TO ADD", tile, "TO CELL", this, "WHICH ERASES EXISTING TILE", this[index]);
if (index !== LAYERS.vfx) {
console.error("ATTEMPTING TO ADD", tile, "TO CELL", this, "WHICH ERASES EXISTING TILE", this[index]);
}
this[index].cell = null;
}
this[index] = tile;

View File

@ -2683,7 +2683,6 @@ class PackTestDialog extends DialogOverlay {
try {
stored_level = pack.load_level(i);
console.log(i + 1, stored_level.title);
if (! stored_level.has_replay) {
record_result('no-replay', "No replay");
continue;