FOUND THE BUG causing #3. Mscript still needs full conversion to typescript. This would have been caught on compile. Resolves #3, create a new issue for mscript refactor.

This commit is contained in:
mmcwilliams 2019-05-28 09:06:59 -04:00
parent ab8d7f57e9
commit 39301f5b59
4 changed files with 5 additions and 5 deletions

View File

@ -259,7 +259,7 @@ class Mscript {
}
}
} else {
if (target > this.cam) {
if (this.target > this.cam) {
this.dist = this.target - this.cam;
for (let x = 0; x < this.dist; x++) {
this.arr.push('BF');

View File

@ -259,7 +259,7 @@ class Mscript {
}
}
} else {
if (target > this.cam) {
if (this.target > this.cam) {
this.dist = this.target - this.cam;
for (let x = 0; x < this.dist; x++) {
this.arr.push('BF');

View File

@ -259,7 +259,7 @@ class Mscript {
}
}
} else {
if (target > this.cam) {
if (this.target > this.cam) {
this.dist = this.target - this.cam;
for (let x = 0; x < this.dist; x++) {
this.arr.push('BF');

View File

@ -161,7 +161,7 @@ class Mscript {
if (!this.variables[key] || update) {
this.variables[key] = value;
}
console.dir(this.variables)
//console.dir(this.variables)
}
variable_replace(line) {
@ -259,7 +259,7 @@ class Mscript {
}
}
} else {
if (target > this.cam) {
if (this.target > this.cam) {
this.dist = this.target - this.cam;
for (let x = 0; x < this.dist; x++) {
this.arr.push('BF');