Fixed error where nothing was actually printed due to some JS.

This commit is contained in:
dangranos 2018-01-01 16:32:20 +07:00
parent 5c567d4d8f
commit c35db10441

View File

@ -1005,10 +1005,8 @@ function tickListener(message) {
//Update console
if (message.c !== undefined) {
for (var i = 0; i < message.c.length; i++) {
str += message.c[i];
terminal.add_text(message.c[i]);
}
terminal.add_text(str);
}
}
}