mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-19 22:39:53 +01:00
🐛 fix trap effect source
This commit is contained in:
parent
aac10f0c1b
commit
67df84236b
1 changed files with 2 additions and 2 deletions
4
Card.js
4
Card.js
|
@ -1848,10 +1848,10 @@ Card.prototype.handleTrapAsyn = function(event) {
|
|||
}
|
||||
}).callback(this,function () {
|
||||
if (!this.trap) return;
|
||||
return this.game.blockAsyn(this,function () {
|
||||
return this.game.blockAsyn(this,this,function () {
|
||||
this.player.onTrapTriggered.trigger();
|
||||
return this.trap.actionAsyn.call(this,event);
|
||||
})
|
||||
});
|
||||
}).callback(this,function () {
|
||||
this.trash();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue