diff --git a/packages/frontend/src/pages/drop-and-fusion.vue b/packages/frontend/src/pages/drop-and-fusion.vue index dbfa4ae02c..974daf35e4 100644 --- a/packages/frontend/src/pages/drop-and-fusion.vue +++ b/packages/frontend/src/pages/drop-and-fusion.vue @@ -153,7 +153,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- Retry + Retry
@@ -474,7 +474,12 @@ function hold() { game.hold(); } -function surrender() { +async function surrender() { + const { canceled } = await os.confirm({ + type: 'warning', + text: i18n.ts.areYouSure, + }); + if (canceled) return; game.surrender(); }