some comments, thanks Andy!

This commit is contained in:
Javier Abadia 2014-01-21 10:18:00 +01:00
parent c7843dc458
commit ba9aa30ce0

View File

@ -120,9 +120,10 @@ define([
cells.push({ level: level, row: cell_id[1], col: cell_id[0]});
});
// if the number of requested tiles is excessive, we just stop
if( cells.length > 5000 && level != maxLevel)
{
console.log("me planto!");
console.log("enough is enough!");
break;
}
}