mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +02:00
Adding some ?s so the game does not crash
This commit is contained in:
parent
89e8085c39
commit
ed0030769f
@ -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…
Reference in New Issue
Block a user