Skip to content

Commit 3ae09bc

Browse files
committed
compiling, again
1 parent 3bc9504 commit 3ae09bc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mcparser.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,12 @@ namespace microcode {
9797
currTile instanceof IconEditor ||
9898
currTile instanceof MelodyEditor
9999
) {
100+
const thisTile = currTile as ModifierEditor
100101
control.assert(tok == "`")
101-
let iconTokens = []
102-
while ((tok = getToken()) != "`") iconTokens.push(tok)
102+
let tokens = []
103+
while ((tok = getToken()) != "`") tokens.push(tok)
103104
control.assert(tok == "`")
104-
currTile.field = currTile.fieldEditor.fromTokens(iconTokens)
105+
currTile.field = thisTile.fieldEditor.fromTokens(tokens)
105106
} else if (currTile instanceof DigitEditor) {
106107
currTile.field = currTile.fieldEditor.fromTokens([tok])
107108
}

0 commit comments

Comments
 (0)