mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-06 18:09:10 +00:00
[Bug] Pledge moves in summary do not break the game (#5461)
This commit is contained in:
parent
b50d2c0783
commit
882b965da1
@ -5236,7 +5236,7 @@ export class CombinedPledgeTypeAttr extends VariableMoveTypeAttr {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const combinedPledgeMove = user.turnData.combiningPledge;
|
const combinedPledgeMove = user?.turnData?.combiningPledge;
|
||||||
if (!combinedPledgeMove) {
|
if (!combinedPledgeMove) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user