diff options
author | hwc487 | 2012-03-07 16:48:48 -0800 |
---|---|---|
committer | hwc487 | 2012-03-07 16:48:48 -0800 |
commit | 818582d389f504c915be0c9052fafa33e3e76c92 (patch) | |
tree | ff686f52903d91f27f983b19e18c9909af5957d9 /js/lib/rdge/materials/tunnel-material.js | |
parent | 855e8727b147771ff7b05e71bed481e65fe4b6b0 (diff) | |
download | ninja-818582d389f504c915be0c9052fafa33e3e76c92.tar.gz |
File IO
Diffstat (limited to 'js/lib/rdge/materials/tunnel-material.js')
-rw-r--r-- | js/lib/rdge/materials/tunnel-material.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/rdge/materials/tunnel-material.js b/js/lib/rdge/materials/tunnel-material.js index fe787d16..fe0fbd51 100644 --- a/js/lib/rdge/materials/tunnel-material.js +++ b/js/lib/rdge/materials/tunnel-material.js | |||
@@ -56,7 +56,7 @@ var TunnelMaterial = function TunnelMaterial() { | |||
56 | this._shader.init(); | 56 | this._shader.init(); |
57 | 57 | ||
58 | // set up the material node | 58 | // set up the material node |
59 | this._materialNode = createMaterialNode("tunnelMaterial"); | 59 | this._materialNode = createMaterialNode("tunnelMaterial" + "_" + world.generateUniqueNodeID()); |
60 | this._materialNode.setShader(this._shader); | 60 | this._materialNode.setShader(this._shader); |
61 | 61 | ||
62 | this._time = 0; | 62 | this._time = 0; |