From f9de149f552c79a81d7f49f006fc60a71abf40fa Mon Sep 17 00:00:00 2001 From: Mumble <171087428+frutescens@users.noreply.github.com> Date: Fri, 30 Aug 2024 20:40:40 -0700 Subject: [PATCH] double voucher prevention (#3931) Co-authored-by: frutescens Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> --- src/phases/title-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/title-phase.ts b/src/phases/title-phase.ts index c74dca97f5c..4c89b725c2d 100644 --- a/src/phases/title-phase.ts +++ b/src/phases/title-phase.ts @@ -293,7 +293,7 @@ export class TitlePhase extends Phase { } for (const achv of Object.keys(this.scene.gameData.achvUnlocks)) { - if (vouchers.hasOwnProperty(achv)) { + if (vouchers.hasOwnProperty(achv) && achv !== "CLASSIC_VICTORY") { this.scene.validateVoucher(vouchers[achv]); } }