aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--space.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/space.js b/space.js
index 912768b..9ffcd18 100644
--- a/space.js
+++ b/space.js
@@ -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;
}