🐛 fix trap effect source

This commit is contained in:
WEBXOSS 2017-09-14 11:11:56 +08:00
parent aac10f0c1b
commit 67df84236b

View file

@ -1848,10 +1848,10 @@ Card.prototype.handleTrapAsyn = function(event) {
} }
}).callback(this,function () { }).callback(this,function () {
if (!this.trap) return; if (!this.trap) return;
return this.game.blockAsyn(this,function () { return this.game.blockAsyn(this,this,function () {
this.player.onTrapTriggered.trigger(); this.player.onTrapTriggered.trigger();
return this.trap.actionAsyn.call(this,event); return this.trap.actionAsyn.call(this,event);
}) });
}).callback(this,function () { }).callback(this,function () {
this.trash(); this.trash();
}); });