Reworking the junkmap
This commit is contained in:
@@ -817,7 +817,7 @@ GameState.prototype.create = function()
|
||||
layer.resizeWorld();
|
||||
} else if ( lp['type'] == "objects" ) {
|
||||
console.log("this.map.createFromObjects(" + ln + ", "+ ln +", undefined, 0, true, false, undefined, Light)");
|
||||
this.map.createFromObjects(ln, lp['gid'], null, 0, true, false, undefined, lp['class']);
|
||||
this.map.createFromObjects(ln, lp['gid'], undefined, 0, true, false, undefined, lp['class']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user