added ghost layer, fixed arrow

This commit is contained in:
logsol 2014-11-30 15:06:02 +01:00
parent 81ccdaa127
commit c1a756050f
5 changed files with 89 additions and 50 deletions

View file

@ -72,6 +72,7 @@ define([
continue;
}
// Setting up spawnpoints and then all layers behind it
this.setupLayer(layerOptions, true, lastLayerId);
if(this.layerMapping[layerOptions.name]) {
@ -100,6 +101,7 @@ define([
continue;
}
// Setting up all layers before
this.setupLayer(layerOptions, false, lastLayerId);
if(this.layerMapping[layerOptions.name]) {