diff --git a/21g30t1e75.js b/21g30t1e75.js index 0c081a9..7e753ee 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -110,12 +110,8 @@ GameLib.CustomCode.SnakeBody = function( position, rotation ) { - if (GameLib.Utils.UndefinedOrNull(bodyType)) { - throw new Error('no body type specified'); - } - this.bodyType = bodyType; - if (GameLib.Utils.UndefinedOrNull(mesh)) { +if (GameLib.Utils.UndefinedOrNull(mesh)) { throw new Error('no mesh specified'); } this.mesh = mesh.clone();