Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 4 bytes modified
parent
4d28c31b40
commit
8f5840747e
|
@ -315,7 +315,7 @@ GameLib.CustomCode.prototype.createGameObject = function(
|
|||
|
||||
if (objectType === GameLib.CustomCode.OBJECT_TYPE_FOOD) {
|
||||
type = GameLib.Utils.GetRandomIntInclusive(0, 5);
|
||||
switch (foodType) {
|
||||
switch (type) {
|
||||
case GameLib.CustomCode.FOOD_BACON :
|
||||
mesh = this.createGameMesh(this.materialBacon);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue