diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-03-26 00:07:38 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-03-26 00:07:38 -0400 |
commit | 9634a1c6d79a93ab79c5354d2240ed11ad9abbe7 (patch) | |
tree | ec579b22851d7e91f6ac854ac414fbfe66a80351 /space.js | |
parent | 7f3110ec388bdf6b72579b70a5736f3f53809de4 (diff) | |
parent | 183b38854c8efef2af9e4118060bc2dc4a84befc (diff) |
Merge branch 'master' into bulletbullet
Diffstat (limited to 'space.js')
-rw-r--r-- | space.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,7 +39,7 @@ function Space(){ let cont = chop(tile.content,16); let read = 0; //line of cont to read for (let line=0; line<8; line++){ - curline = line+8*tilerow; + let curline = line+8*tilerow; if (conform && incl.includes(line)){ for (let i=0; i<16; i++) this.data[curline].push(' '); } else { @@ -85,6 +85,7 @@ function Space(){ this.comb = function(other, func){ // other must have a valid .loc. If this.loc null, treated as offset if (! other.loc) throw "The secondary space must have a valid .loc" + let offset; if (this.loc.length == 0) { offset = [0, 0]; this.loc = other.loc; |