mirror of
https://github.com/webxoss/webxoss-core.git
synced 2024-11-20 06:49:53 +01:00
Fix player.damageAsyn
This commit is contained in:
parent
aa0279c233
commit
c5fe40d77c
1 changed files with 1 additions and 1 deletions
|
@ -1087,7 +1087,7 @@ Player.prototype.damageAsyn = function () {
|
||||||
if (this.wontBeDamaged) return Callback.immediately(false);
|
if (this.wontBeDamaged) return Callback.immediately(false);
|
||||||
if (this.wontBeDamagedByOpponentLrig) {
|
if (this.wontBeDamagedByOpponentLrig) {
|
||||||
var source = this.game.getEffectSource();
|
var source = this.game.getEffectSource();
|
||||||
if (source === this.player.opponent.lrig) {
|
if (source === this.opponent.lrig) {
|
||||||
return Callback.immediately(false);
|
return Callback.immediately(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue