From 567b62b468930a1cd9799cc9174901d3ede8bbc6 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Feb 2018 13:31:02 +0100 Subject: [PATCH] Update: CC - Bacon - Entity Loaded (8ia8dlk7l5.js) 11 bytes modified --- 8ia8dlk7l5.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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] } )