Don't gripe about VFX erasing each other; that's a feature
This commit is contained in:
parent
04e350b624
commit
0ba112aec5
@ -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]) {
|
||||||
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].cell = null;
|
||||||
}
|
}
|
||||||
this[index] = tile;
|
this[index] = tile;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user