fix: Fixes continuing after deserialization error (#1761)

This commit is contained in:
Kamron Batman 2024-05-07 16:56:32 -07:00 committed by GitHub
parent 328c6daa60
commit 05535ec9d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -258,7 +258,7 @@ public static class EntityPersistence
{
deleteAllFailures = true;
}
else if (pressedKey.InsensitiveEquals("y"))
else if (!pressedKey.InsensitiveEquals("y"))
{
throw new Exception("Deserialization failed.");
}