Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 0 bytes modified
parent
4ab6a5f43d
commit
da749806c8
|
@ -298,7 +298,7 @@ GameLib.CustomCode.prototype.createGameObject = function(
|
||||||
var array = null;
|
var array = null;
|
||||||
|
|
||||||
if (objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP) {
|
if (objectType === GameLib.CustomCode.OBJECT_TYPE_POWERUP) {
|
||||||
type = GameLib.Utils.GetRandomIntInclusive(0, 3);
|
type = GameLib.Utils.GetRandomIntInclusive(0, 2);
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case GameLib.CustomCode.POWERUP_SPEED :
|
case GameLib.CustomCode.POWERUP_SPEED :
|
||||||
mesh = this.createGameMesh(this.materialPowerupSpeed);
|
mesh = this.createGameMesh(this.materialPowerupSpeed);
|
||||||
|
|
Loading…
Reference in New Issue