[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;
|
||||
}
|
||||
|
||||
const combinedPledgeMove = user.turnData.combiningPledge;
|
||||
const combinedPledgeMove = user?.turnData?.combiningPledge;
|
||||
if (!combinedPledgeMove) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue