Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 124 bytes modified

beta.r3js.org
-=yb4f310 2018-03-13 14:49:26 +01:00
parent 29ea731772
commit 1d555ad20b
1 changed files with 1 additions and 5 deletions

View File

@ -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();