[Bug] Fix saveslot deletion (#6380)

Fix saveslot deletion
This commit is contained in:
Sirz Benjie 2025-08-23 18:45:15 -05:00 committed by GitHub
parent 1192825d51
commit 842f0e88b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,7 +181,7 @@ export class SaveSlotSelectUiHandler extends MessageUiHandler {
ui.setOverlayMode(
UiMode.CONFIRM,
() => {
globalScene.gameData.tryClearSession(cursor).then(response => {
globalScene.gameData.deleteSession(cursor).then(response => {
if (response[0] === false) {
globalScene.reset(true);
} else {