Skip to content

Commit

Permalink
Changes to ruleFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrian committed Oct 18, 2017
1 parent ae67aa2 commit 134d4f5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions js/MRI.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,9 @@ document.getElementById("imageTextForm").onsubmit = function(e)
var i
for(i=0;i<colors.length-1;i++)
{
if(!colors[i].includes("0x0"))
{
ruleFileJson += '{"Key" : "'+ colors[i] +'" ,"Color" : "'+colors[i] +'" , "Shape" : "Cube","Texture" : "./resources/textures/oak.png" },';
}

ruleFileJson += '{"Key" : "'+ colors[i] +'" ,"Color" : "'+colors[i] +'" , "Shape" : "Cube","Texture" : "./resources/textures/oak.png" },';

}
ruleFileJson += '{"Key" : "'+ colors[i] +'" ,"Color" : "'+colors[i] +'" , "Shape" : "Cube","Texture" : "./resources/textures/oak.png" }]}';

Expand Down

0 comments on commit 134d4f5

Please sign in to comment.