Remove unneeded sort
This commit is contained in:
@@ -23,7 +23,7 @@ readInterface.on('line', function(line) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
readInterface.on('close', function(line) {
|
readInterface.on('close', function(line) {
|
||||||
let seatIDs = new Set( seats.map((seat) => seat[1]*8 + seat[0]).sort((a,b) => a-b ) );
|
let seatIDs = new Set( seats.map((seat) => seat[1]*8 + seat[0]) );
|
||||||
|
|
||||||
for (x=0; x<8; x++) {
|
for (x=0; x<8; x++) {
|
||||||
for(y=0; y<128; y++) {
|
for(y=0; y<128; y++) {
|
||||||
|
Reference in New Issue
Block a user