All: Fix a hard-coded nodes array length in stateString()

This commit is contained in:
David Banks 2018-10-09 21:59:27 +01:00
parent f360557572
commit 86e6e116d7
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ function allNodes(){
function stateString(){
var codes = ['l','h'];
var res = '';
for(var i=0;i<1725;i++){
for(var i=0;i<nodes.length;i++){
var n = nodes[i];
if(n==undefined) res+='x';
else if(i==ngnd) res+='g';