diff options
-rw-r--r-- | space.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ function Space(){ // CLASS let writes = []; for (let line = 0; line < this.data.length; line++) for (let chr = 0; chr< this.data[line].length; chr++){ if (this.data[line][chr] == '') continue; - writes.push([[Math.floor( (charoffset[0]+line)/8 ),Math.floor( (charoffset[1]+chr)/16 )],[ (charoffset[0]+line) % 8, (charoffset[1]+chr) % 16 ],this.data[line][chr]]); + writes.push([[charoffset[0]+line,charoffset[1]+chr],this.data[line][chr]]); } return writes; } |