double voucher prevention (#3931)

Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Mumble 2024-08-30 20:40:40 -07:00 committed by GitHub
parent 642b18e747
commit f9de149f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}
}