Browse Source

Remove logging (didn't see them at all!)

tags/v0.10.6^2
kckckc 2 years ago
parent
commit
662808ed67
3 changed files with 1 additions and 15 deletions
  1. +1
    -1
      src/client/ui/templates/effects/effects.js
  2. +0
    -6
      src/server/clientComponents/effects.js
  3. +0
    -8
      src/server/components/effects.js

+ 1
- 1
src/client/ui/templates/effects/effects.js View File

@@ -46,7 +46,7 @@ define([
let el = this.icons[config.id];
if (!el)
return;
el.remove();
delete this.icons[config.id];
}


+ 0
- 6
src/server/clientComponents/effects.js View File

@@ -55,12 +55,6 @@ define([
},

buildEffect: function (data) {
if (typeof data === 'string') {
//TODO: temporary while we work on effects
console.error('String type effects should be deprecated, this effect will be missing an id');
data = { type: data };
}
let template = this.templates[data.type] || {};

let effect = $.extend(true, {}, effectBase, template, data);


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

@@ -235,14 +235,6 @@ module.exports = {
},

removeEffect: function (id, noMsg) {
if (noMsg)
console.error('removeEffect: noMsg is deprecated!');
if (typeof id !== 'number') {
console.error('removeEffect: id should be a number');
id = id.id;
}

let effect = this.effects.find(e => e.id === id);
this.destroyEffect(effect);



Loading…
Cancel
Save