@@ -227,8 +227,10 @@ function debuggerInit(debugModule, runtime, hotSwapState /* =undefined */) {
229 function redrawGraphics() {
229 function redrawGraphics() {
230− var graphicsNode = debugModule.moduleInstance.main.kids[0];
230+ var main = debugModule.moduleInstance.main
231+ for (var i = main.kids.length ; i-- ; ) {
231− graphicsNode.recv(Date.now(), true, debugModule.moduleInstance.main.id);
232+ main.kids[i].recv(Date.now(), true, main.id);
234 function getHotSwapState() {
236 function getHotSwapState() {