Browse Source

Removed console.log

tags/v0.1.2
Rylee George 7 years ago
parent
commit
89586c5db8
3 changed files with 1 additions and 17 deletions
  1. +0
    -3
      src/client/plugins/pixi.particles.js
  2. +0
    -8
      src/server/components/dialogue.js
  3. +1
    -6
      src/server/components/stats.js

+ 0
- 3
src/client/plugins/pixi.particles.js View File

@@ -630,9 +630,6 @@ if (!Array.prototype.random) {
this.rawPosition.x += this.velocity.x * delta;
this.rawPosition.y += this.velocity.y * delta;

//if (isNaN(this.velocity.x))
// console.log(this.startSpeed + ' ' + this.endSpeed);

this.position.x = ~~(this.rawPosition.x / 2) * 2;
this.position.y = ~~(this.rawPosition.y / 2) * 2;
}


+ 0
- 8
src/server/components/dialogue.js View File

@@ -79,14 +79,6 @@ define([
this.sourceStates[sourceObj.id] = state;

if (!this.states) {
console.log('NO DIALOGUE STATES?!?!??!');
console.log('NO DIALOGUE STATES?!?!??!');
console.log('NO DIALOGUE STATES?!?!??!');
console.log('NO DIALOGUE STATES?!?!??!');
console.log('NO DIALOGUE STATES?!?!??!');
console.log('NO DIALOGUE STATES?!?!??!');
console.log('NO DIALOGUE STATES?!?!??!');
console.log(this.obj);
return null;
}
var stateConfig = this.states[state];


+ 1
- 6
src/server/components/stats.js View File

@@ -230,13 +230,8 @@ define([
get = ~~get;
}

if (a.obj.stats)
a.obj.stats.getXp(inc);
else {
console.log('give xp to???');
console.log(a.obj);
}

a.obj.fireEvent('afterKillMob', target);
}



Loading…
Cancel
Save