chore: changed warning message when deleting saved state

This commit is contained in:
lantzelot-swe 2021-11-20 23:44:21 +01:00
parent 7f67e09f75
commit b472d0e97a
1 changed files with 6 additions and 5 deletions

View File

@ -826,10 +826,11 @@ public class SaveStatePanel extends JPanel
{
public void actionPerformed(ActionEvent e)
{
int value = JOptionPane.showConfirmDialog(SaveStatePanel.this,
"Are you sure you want to delete the saved state?",
"Delete saved state",
JOptionPane.YES_NO_OPTION);
int value = JOptionPane
.showConfirmDialog(SaveStatePanel.this,
"Are you sure you want to delete the saved state?\nIt will be deleted when you save the changes for the current game.",
"Delete saved state",
JOptionPane.YES_NO_OPTION);
if (value == JOptionPane.YES_OPTION)
{
gamesFileUpdated = false;