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

This commit is contained in:
Eevee (Evelyn Woods) committed 2021-01-05 21:04:09 -07:00
1 parent 04e350b624
commit 0ba112aec5
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -157,7 +157,9 @@ export class Cell extends Array {
_add(tile) { _add(tile) {
let index = tile.type.layer; let index = tile.type.layer;
if (this[index]) { if (this[index]) {
if (index !== LAYERS.vfx) {
console.error("ATTEMPTING TO ADD", tile, "TO CELL", this, "WHICH ERASES EXISTING TILE", this[index]); console.error("ATTEMPTING TO ADD", tile, "TO CELL", this, "WHICH ERASES EXISTING TILE", this[index]);
}
this[index].cell = null; this[index].cell = null;
} }
this[index] = tile; this[index] = tile;
-1
View File
@@ -2683,7 +2683,6 @@ class PackTestDialog extends DialogOverlay {
try { try {
stored_level = pack.load_level(i); stored_level = pack.load_level(i);
console.log(i + 1, stored_level.title);
if (! stored_level.has_replay) { if (! stored_level.has_replay) {
record_result('no-replay', "No replay"); record_result('no-replay', "No replay");
continue; continue;