Where there's a will there's a way
This commit is contained in:
@@ -22,7 +22,7 @@ fn onInit(node: opaque) {
|
||||
generateLevel(rng);
|
||||
|
||||
//generate the child node to render the map
|
||||
var child: opaque = node.loadChild("scripts:/tilemap/rendernode.toy");
|
||||
var child: opaque = node.loadChild("scripts:/tilemap/renderer.toy");
|
||||
|
||||
child.callNodeFn("setTilemap", tilemap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user