diff --git a/8ia8dlk7l5.js b/8ia8dlk7l5.js index 93ef6d5..d84734d 100644 --- a/8ia8dlk7l5.js +++ b/8ia8dlk7l5.js @@ -1486,9 +1486,7 @@ GameLib.CustomCode.prototype.clearGrid = function() { GameLib.CustomCode.prototype.createTile = function(tileName, imageName, displace) { var material = { - { - materialType : GameLib.D3.API.Material.MATERIAL_TYPE_PHONG - } + materialType : GameLib.D3.API.Material.MATERIAL_TYPE_PHONG } if (imageName) { @@ -1510,9 +1508,9 @@ GameLib.CustomCode.prototype.createTile = function(tileName, imageName, displace height : 1, widthSegments : 10, heightSegments : 10 - } + }, scene : this.scene, - materials : [apiMaterial] + materials : [material] } )