Add references to runtime to constructor calls for Sprite, Target, and RenderedTarget so blocks get created properly.

This commit is contained in:
Karishma Chadha 2019-01-29 15:30:45 -05:00
parent 7ac8721aa5
commit e0b0d35b46
7 changed files with 90 additions and 78 deletions

View file

@ -67,7 +67,7 @@ const generateBlockInput = function (id, next, inp) {
};
const generateThread = function (runtime) {
const s = new Sprite();
const s = new Sprite(null, runtime);
const rt = new RenderedTarget(s, runtime);
const th = new Thread(randomString());