Skip to content
Browse files

delete this.tone if it's already exists.

  • Loading branch information...
1 parent 060ffd4 commit fc921e993d48f07b225b31f1b49a25721c2c0087 @GuriK GuriK committed Sep 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/rpg.js
View
1 core/rpg.js
@@ -2645,6 +2645,7 @@ Rpg.prototype = {
var exist_tone = false;
if (this.tone) {
this.containerMap.removeChild(this.tone);
+ delete this.tone;
exist_tone = true;
if (color == 'reset') return;
}

0 comments on commit fc921e9

Please sign in to comment.
Something went wrong with that request. Please try again.