diff options
Diffstat (limited to 'js/lib/rdge/materials/relief-tunnel-material.js')
-rw-r--r-- | js/lib/rdge/materials/relief-tunnel-material.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/rdge/materials/relief-tunnel-material.js b/js/lib/rdge/materials/relief-tunnel-material.js index 20290895..52c40543 100644 --- a/js/lib/rdge/materials/relief-tunnel-material.js +++ b/js/lib/rdge/materials/relief-tunnel-material.js | |||
@@ -54,7 +54,7 @@ var ReliefTunnelMaterial = function ReliefTunnelMaterial() { | |||
54 | this._shader.init(); | 54 | this._shader.init(); |
55 | 55 | ||
56 | // set up the material node | 56 | // set up the material node |
57 | this._materialNode = createMaterialNode("reliefTunnelMaterial"); | 57 | this._materialNode = createMaterialNode("reliefTunnelMaterial" + "_" + world.generateUniqueNodeID()); |
58 | this._materialNode.setShader(this._shader); | 58 | this._materialNode.setShader(this._shader); |
59 | 59 | ||
60 | this._time = 0; | 60 | this._time = 0; |